commit cc32caebb619413bb29ead0e4574b566c1643f5c Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Sun Apr 29 20:28:15 2012 +0100 Update to 2.052 - New upstream release 2.052 (no changes) - Don't need to remove empty directories from buildroot - Package examples - Drop %defattr, redundant since rpm 4.4 perl-IO-Compress-Lzma.spec | 19 +++++++++++++++---- sources | 2 +- 2 files changed, 16 insertions(+), 5 deletions(-) --- diff --git a/perl-IO-Compress-Lzma.spec b/perl-IO-Compress-Lzma.spec index 1d20537..af9033d 100644 --- a/perl-IO-Compress-Lzma.spec +++ b/perl-IO-Compress-Lzma.spec @@ -1,5 +1,5 @@ Name: perl-IO-Compress-Lzma -Version: 2.049 +Version: 2.052 Release: 1%{?dist} Summary: Read and write lzma compressed data License: GPL+ or Artistic @@ -23,6 +23,13 @@ compressed data created with the lzma library. %prep %setup -q -n IO-Compress-Lzma-%{version} +# Remove spurious exec permissions +chmod -c -x examples/* + +# Fix shellbangs in examples +perl -pi -e 's|^#!/usr/local/bin/perl\b|#!/usr/bin/perl|' \ + examples/lzcat examples/lzstream examples/xzcat examples/xzstream + %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -30,15 +37,13 @@ make %{?_smp_mflags} %install 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 %files -%defattr(-,root,root,-) -%doc Changes README +%doc Changes README examples/* %{perl_vendorlib}/IO/ %{_mandir}/man3/IO::Compress::Lzma.3pm* %{_mandir}/man3/IO::Compress::Xz.3pm* @@ -46,6 +51,12 @@ make test %{_mandir}/man3/IO::Uncompress::UnXz.3pm* %changelog +* Sun Apr 29 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 2.052-1 +- Update to 2.052 (no changes) +- Don't need to remove empty directories from buildroot +- Package examples +- Drop %%defattr, redundant since rpm 4.4 + * Sat Feb 18 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 2.049-1 - Update to 2.049 (no changes) diff --git a/sources b/sources index 52fcdc3..f8cc6ca 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -62d66908a2c0f77a0627f9e305bfe58f IO-Compress-Lzma-2.049.tar.gz +67e93a7ae58c8536de29e9ee1adac7c7 IO-Compress-Lzma-2.052.tar.gz -- 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