commit ee62a398233b6cc0a19e8ac6bbc9831c6ae9393d Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Tue Jan 10 19:35:37 2012 +0000 nobody else likes macros for commands perl-Convert-BinHex.spec | 51 +++++++++++++++++++++++++-------------------- 1 files changed, 28 insertions(+), 23 deletions(-) --- diff --git a/perl-Convert-BinHex.spec b/perl-Convert-BinHex.spec index 0f4738e..3311982 100644 --- a/perl-Convert-BinHex.spec +++ b/perl-Convert-BinHex.spec @@ -1,42 +1,43 @@ Name: perl-Convert-BinHex Version: 1.119 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Convert to/from RFC1741 HQX7 (Mac BinHex) Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Convert-BinHex/ Source0: http://search.cpan.org/CPAN/authors/id/E/ER/ERYQ/Convert-BinHex-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description Convert::BinHex extracts data from Macintosh BinHex files. %prep %setup -q -n Convert-BinHex-%{version} -%{__chmod} -x bin/*.pl docs/Convert/BinHex/redapple.gif -%{__cp} -a bin examples -%{__perl} -pi -e 's/^use lib .*$//' bin/*.pl -%{__perl} -pi -e 's/^(\@ISA.*)/require Exporter; $1/' t/Checker.pm +chmod -c -x bin/*.pl docs/Convert/BinHex/redapple.gif +cp -a bin examples +perl -pi -e 's/^use lib .*$//' bin/*.pl +perl -pi -e 's/^(\@ISA.*)/require Exporter; $1/' t/Checker.pm %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install -%{__rm} -rf %{buildroot} -%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot} -/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';' -/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} ';' 2>/dev/null +rm -rf %{buildroot} +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null %{_fixperms} %{buildroot} %check -%{__make} test +make test %clean -%{__rm} -rf %{buildroot} +rm -rf %{buildroot} %files %defattr(-,root,root,-) @@ -45,17 +46,21 @@ Convert::BinHex extracts data from Macintosh BinHex files. %{_mandir}/man3/Convert::BinHex.3pm* %changelog -* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 1.119-16 -- Perl mass rebuild +* Tue Jan 10 2012 Paul Howarth <paul@xxxxxxxxxxxx> 1.119-17 +- nobody else likes macros for commands +- BR: perl(Carp) -* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.119-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild +* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> 1.119-16 +- perl mass rebuild -* Wed Dec 15 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 1.119-14 -- 661697 rebuild for fixing problems with vendorach/lib +* Tue Feb 8 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> 1.119-15 +- rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild -* Fri Apr 30 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 1.119-13 -- Mass rebuild with perl-5.12.0 +* Wed Dec 15 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> 1.119-14 +- rebuild to fix problems with vendorarch/lib (#661697) + +* Fri Apr 30 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> 1.119-13 +- mass rebuild with perl-5.12.0 * Thu Jan 14 2010 Paul Howarth <paul@xxxxxxxxxxxx> 1.119-12 - minor spec issues from merge review (#552554) -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel