rpms/perl-Unicode-MapUTF8/EL-5 perl-Unicode-MapUTF8.spec,1.10,1.11
Paul Howarth (pghmcfc)
fedora-extras-commits at redhat.com
Fri Dec 7 00:13:09 UTC 2007
- Previous message (by thread): rpms/perl-Unicode-MapUTF8/EL-4 .cvsignore, 1.2, 1.3 perl-Unicode-MapUTF8.spec, 1.4, 1.5 sources, 1.2, 1.3
- Next message (by thread): rpms/kernel/F-8 linux-2.6-acpi-dont-init-ec-early-with-no-ini.patch, NONE, 1.1 linux-2.6-libata-ahci-enable-ahci-mode-before-reset.patch, NONE, 1.1 kernel.spec, 1.290, 1.291
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: pghmcfc
Update of /cvs/pkgs/rpms/perl-Unicode-MapUTF8/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30406/EL-5
Modified Files:
perl-Unicode-MapUTF8.spec
Log Message:
Cleanups for first EPEL versions
Index: perl-Unicode-MapUTF8.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Unicode-MapUTF8/EL-5/perl-Unicode-MapUTF8.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- perl-Unicode-MapUTF8.spec 29 Oct 2006 14:11:23 -0000 1.10
+++ perl-Unicode-MapUTF8.spec 7 Dec 2007 00:12:35 -0000 1.11
@@ -1,21 +1,21 @@
-%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
-
Name: perl-Unicode-MapUTF8
Version: 1.11
-Release: 3%{?dist}
+Release: 7%{?dist}
Summary: Conversions to and from arbitrary character sets and UTF8
Group: Development/Libraries
-License: GPL or Artistic
+License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Unicode-MapUTF8/
-Source0: http://www.cpan.org/authors/id/S/SN/SNOWHARE/Unicode-MapUTF8-1.11.tar.gz
+Source0: http://www.cpan.org/authors/id/S/SN/SNOWHARE/Unicode-MapUTF8-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl(Jcode), perl(Unicode::String), perl(Unicode::Map)
-BuildRequires: perl(Unicode::Map8)
+BuildRequires: perl(ExtUtils::MakeMaker), perl(Jcode)
+BuildRequires: perl(Unicode::Map), perl(Unicode::Map8), perl(Unicode::String)
+# Should add perl(Test::Pod) and perl(Test::Pod::Coverage) as buildreqs when
+# they become available in EPEL
%description
Unicode::MapUTF8 Provides an adapter layer between core routines for
@@ -32,22 +32,19 @@
%build
-CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-make install \
- PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \
- INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
-find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
- -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
-%check || :
+%check
make test
@@ -58,11 +55,29 @@
%files
%defattr(-,root,root,-)
%doc README
-%{perl_vendorlib}/Unicode
-%{_mandir}/man3/*.3*
+%dir %{perl_vendorlib}/Unicode/
+%doc %{perl_vendorlib}/Unicode/MapUTF8.pod
+%{perl_vendorlib}/Unicode/MapUTF8.pm
+%{_mandir}/man3/Unicode::MapUTF8.3pm*
%changelog
+* Thu Dec 6 2007 Paul Howarth <paul at city-fan.org> 1.11-7
+- simplify package build in line with perl spec template
+- no need to define %%{perl_vendorlib}
+- refactor buildreqs to support build on EL4/5
+- mark pod as %%doc
+- use %%{version} macro in source URL
+
+* Thu Sep 27 2007 Aurelien Bompard <abompard at fedoraproject.org> 1.11-6
+- fix license tag again (thanks Tom)
+
+* Sun Aug 26 2007 Aurelien Bompard <abompard at fedoraproject.org> 1.11-5
+- fix license tag (like perl itself)
+
+* Mon Aug 13 2007 Aurelien Bompard <abompard at fedoraproject.org> 1.11-4
+- BR: perl-devel
+
* Sun Oct 29 2006 Aurelien Bompard <abompard at fedoraproject.org> 1.11-2
- rebuild
- Previous message (by thread): rpms/perl-Unicode-MapUTF8/EL-4 .cvsignore, 1.2, 1.3 perl-Unicode-MapUTF8.spec, 1.4, 1.5 sources, 1.2, 1.3
- Next message (by thread): rpms/kernel/F-8 linux-2.6-acpi-dont-init-ec-early-with-no-ini.patch, NONE, 1.1 linux-2.6-libata-ahci-enable-ahci-mode-before-reset.patch, NONE, 1.1 kernel.spec, 1.290, 1.291
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list