rpms/perl-Unicode-Map8/EL-5 perl-Unicode-Map8.spec,1.12,1.13
Paul Howarth (pghmcfc)
fedora-extras-commits at redhat.com
Thu Dec 6 17:09:49 UTC 2007
- Previous message (by thread): rpms/perl-Unicode-Map8/EL-4 perl-Unicode-Map8-0.12-declaration.patch, NONE, 1.1 perl-Unicode-Map8-0.12-type.patch, NONE, 1.1 perl-Unicode-Map8.spec, 1.4, 1.5
- Next message (by thread): rpms/jd/F-7 .cvsignore, 1.148, 1.149 jd.spec, 1.167, 1.168 sources, 1.149, 1.150
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: pghmcfc
Update of /cvs/pkgs/rpms/perl-Unicode-Map8/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11441/EL-5
Modified Files:
perl-Unicode-Map8.spec
Log Message:
Cleanups for first EPEL versions
Index: perl-Unicode-Map8.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Unicode-Map8/EL-5/perl-Unicode-Map8.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- perl-Unicode-Map8.spec 29 Oct 2006 12:39:32 -0000 1.12
+++ perl-Unicode-Map8.spec 6 Dec 2007 17:09:07 -0000 1.13
@@ -1,20 +1,18 @@
-%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
-
Name: perl-Unicode-Map8
Version: 0.12
-Release: 11%{?dist}
+Release: 15%{?dist}
Summary: Mapping table between 8-bit chars and Unicode for Perl
Group: Development/Libraries
-License: GPL or Artistic
+License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Unicode-Map8/
-Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Unicode-Map8-0.12.tar.gz
+Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Unicode-Map8-%{version}.tar.gz
Patch0: perl-Unicode-Map8-0.12-declaration.patch
Patch1: perl-Unicode-Map8-0.12-type.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: perl(Unicode::String)
+BuildRequires: perl(ExtUtils::MakeMaker), perl(Unicode::String)
%description
@@ -30,25 +28,26 @@
%setup -q -n Unicode-Map8-%{version}
%patch0 -p0 -b .declaration
%patch1 -p0 -b .type
-
+for f in Changes README; do
+ iconv -f iso-8859-1 -t utf8 < ${f} > ${f}.utf8
+ mv ${f}.utf8 ${f}
+done
%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 -type f -name '*.bs' -a -size 0 -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
@@ -60,12 +59,30 @@
%defattr(-,root,root,-)
%doc Changes README
%{_bindir}/umap
-%{perl_vendorarch}/auto/Unicode
-%{perl_vendorarch}/Unicode
-%{_mandir}/man[13]/*.[13]*
+%{perl_vendorarch}/auto/Unicode/
+%{perl_vendorarch}/Unicode/
+%{_mandir}/man1/umap.1*
+%{_mandir}/man3/Unicode::Map8.3pm*
%changelog
+* Thu Dec 6 2007 Paul Howarth <paul at city-fan.org> 0.12-15
+- simplify package build in line with perl spec template
+- no need to define %%{perl_vendorarch}
+- refactor buildreqs to support build on EL4/5
+- more specific %%files list
+- use %%{version} macro in source URL
+- re-encode Changes and README as UTF8
+
+* Thu Sep 27 2007 Aurelien Bompard <abompard at fedoraproject.org> 0.12-14
+- fix license tag again (thanks Tom)
+
+* Sun Aug 26 2007 Aurelien Bompard <abompard at fedoraproject.org> 0.12-13
+- fix license tag (like perl itself)
+
+* Mon Aug 13 2007 Aurelien Bompard <abompard at fedoraproject.org> 0.12-12
+- BR: perl-devel
+
* Sun Oct 29 2006 Aurelien Bompard <abompard at fedoraproject.org> 0.12-11
- actually apply the patches
- Previous message (by thread): rpms/perl-Unicode-Map8/EL-4 perl-Unicode-Map8-0.12-declaration.patch, NONE, 1.1 perl-Unicode-Map8-0.12-type.patch, NONE, 1.1 perl-Unicode-Map8.spec, 1.4, 1.5
- Next message (by thread): rpms/jd/F-7 .cvsignore, 1.148, 1.149 jd.spec, 1.167, 1.168 sources, 1.149, 1.150
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list