[perl-IO-Compress-Lzma] Update to 2.052
by Paul Howarth
commit cc32caebb619413bb29ead0e4574b566c1643f5c
Author: Paul Howarth <paul(a)city-fan.org>
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(a)city-fan.org> - 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(a)city-fan.org> - 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
12 years
[perl-IO-Compress] Update to 2.052
by Paul Howarth
commit d18ae80e6ca90343c8799f227b13830cb49c7627
Author: Paul Howarth <paul(a)city-fan.org>
Date: Sun Apr 29 19:18:57 2012 +0100
Update to 2.052
- New upstream release 2.052
- IO::Compress::Zip: force a ZIP64 archive when it contains ≥ 0xFFFF entries
- Fix typo in POD (CPAN RT#76130)
- Don't need to remove empty directories from buildroot
perl-IO-Compress.spec | 16 ++++++++++------
sources | 2 +-
2 files changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/perl-IO-Compress.spec b/perl-IO-Compress.spec
index 8b274c1..0ad2ac1 100644
--- a/perl-IO-Compress.spec
+++ b/perl-IO-Compress.spec
@@ -2,7 +2,7 @@
%{?perl_default_filter}
Name: perl-IO-Compress
-Version: 2.049
+Version: 2.052
Release: 1%{?dist}
Summary: Read and write compressed data
License: GPL+ or Artistic
@@ -11,7 +11,6 @@ URL: http://search.cpan.org/dist/IO-Compress/
Source0: http://www.cpan.org/authors/id/P/PM/PMQS/IO-Compress-%{version}.tar.gz
BuildArch: noarch
Requires: perl(Exporter)
-BuildRequires: perl(bytes)
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(constant)
@@ -55,7 +54,6 @@ RFC 1952 (i.e. gzip) and zip files/buffers.
The following modules used to be distributed separately, but are now
included with the IO-Compress distribution:
-
* Compress-Zlib
* IO-Compress-Zlib
* IO-Compress-Bzip2
@@ -66,7 +64,8 @@ included with the IO-Compress distribution:
# Remove spurious exec permissions
chmod -x lib/IO/Uncompress/{Adapter/Identity,RawInflate}.pm
-find examples -type f -exec chmod -x {} +
+find examples -type f -exec chmod -c -x {} \;
+
# Fix shellbangs in examples
perl -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' examples/io/anycat \
examples/io/bzip2/* examples/io/gzip/* examples/compress-zlib/*
@@ -77,8 +76,7 @@ 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
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}
%check
@@ -113,6 +111,12 @@ make test %{?with_long_tests:COMPRESS_ZLIB_RUN_ALL=1}
%{_mandir}/man3/IO::Uncompress::*.3pm*
%changelog
+* Sun Apr 29 2012 Paul Howarth <paul(a)city-fan.org> - 2.052-1
+- Update to 2.052
+ - IO::Compress::Zip: force a ZIP64 archive when it contains ≥ 0xFFFF entries
+ - Fix typo in POD (CPAN RT#76130)
+- Don't need to remove empty directories from buildroot
+
* Sat Feb 18 2012 Paul Howarth <paul(a)city-fan.org> - 2.049-1
- Update to 2.049
- IO::Compress::Zip:
diff --git a/sources b/sources
index 2559ae2..339dcba 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ff5bc41e544df2d1e4e7471ca1bfd578 IO-Compress-2.049.tar.gz
+4da0627e0587575eba2e386f7f45a5fd IO-Compress-2.052.tar.gz
12 years