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
This commit is contained in:
Paul Howarth 2012-04-29 19:18:57 +01:00
parent 0c79f175e7
commit d18ae80e6c
2 changed files with 11 additions and 7 deletions

View File

@ -2,7 +2,7 @@
%{?perl_default_filter} %{?perl_default_filter}
Name: perl-IO-Compress Name: perl-IO-Compress
Version: 2.049 Version: 2.052
Release: 1%{?dist} Release: 1%{?dist}
Summary: Read and write compressed data Summary: Read and write compressed data
License: GPL+ or Artistic 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 Source0: http://www.cpan.org/authors/id/P/PM/PMQS/IO-Compress-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
Requires: perl(Exporter) Requires: perl(Exporter)
BuildRequires: perl(bytes)
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(Config) BuildRequires: perl(Config)
BuildRequires: perl(constant) 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 The following modules used to be distributed separately, but are now
included with the IO-Compress distribution: included with the IO-Compress distribution:
* Compress-Zlib * Compress-Zlib
* IO-Compress-Zlib * IO-Compress-Zlib
* IO-Compress-Bzip2 * IO-Compress-Bzip2
@ -66,7 +64,8 @@ included with the IO-Compress distribution:
# Remove spurious exec permissions # Remove spurious exec permissions
chmod -x lib/IO/Uncompress/{Adapter/Identity,RawInflate}.pm 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 # Fix shellbangs in examples
perl -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' examples/io/anycat \ perl -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' examples/io/anycat \
examples/io/bzip2/* examples/io/gzip/* examples/compress-zlib/* examples/io/bzip2/* examples/io/gzip/* examples/compress-zlib/*
@ -77,8 +76,7 @@ make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
%{_fixperms} %{buildroot} %{_fixperms} %{buildroot}
%check %check
@ -113,6 +111,12 @@ make test %{?with_long_tests:COMPRESS_ZLIB_RUN_ALL=1}
%{_mandir}/man3/IO::Uncompress::*.3pm* %{_mandir}/man3/IO::Uncompress::*.3pm*
%changelog %changelog
* Sun Apr 29 2012 Paul Howarth <paul@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@city-fan.org> - 2.049-1 * Sat Feb 18 2012 Paul Howarth <paul@city-fan.org> - 2.049-1
- Update to 2.049 - Update to 2.049
- IO::Compress::Zip: - IO::Compress::Zip:

View File

@ -1 +1 @@
ff5bc41e544df2d1e4e7471ca1bfd578 IO-Compress-2.049.tar.gz 4da0627e0587575eba2e386f7f45a5fd IO-Compress-2.052.tar.gz