Update to 2.048

- New upstream release 2.048
  - Set minimum Perl version to 5.6
  - Set minimum zlib version to 1.2.0
  - IO::Compress::Zip:
    - In one-shot zip, set the Text Flag if "-T" thinks the file is a text file
    - In one-shot mode, wrote mod time and access time in wrong order in the
      "UT" extended field
  - IO::Compress test suite fails with Compress::Raw::Zlib 2.047 and zlib < 1.2.4
    (CPAN RT#74503)
- Resync Compress::Raw::* dependency versions
- Add buildreqs for core perl modules, which might be dual-lived
- Don't use macros for commands
This commit is contained in:
Paul Howarth 2012-01-29 21:53:55 +00:00
parent a14660a72b
commit 1038f7204c
2 changed files with 34 additions and 10 deletions

View File

@ -2,8 +2,8 @@
%{?perl_default_filter}
Name: perl-IO-Compress
Version: 2.046
Release: 2%{?dist}
Version: 2.048
Release: 1%{?dist}
Summary: Read and write compressed data
License: GPL+ or Artistic
Group: Development/Libraries
@ -12,20 +12,30 @@ Source0: http://www.cpan.org/authors/id/P/PM/PMQS/IO-Compress-%{version}.
BuildArch: noarch
Requires: perl(Exporter)
BuildRequires: perl(bytes)
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(constant)
BuildRequires: perl(Compress::Raw::Bzip2) >= 2.045
BuildRequires: perl(Compress::Raw::Zlib) >= 2.045
BuildRequires: perl(Compress::Raw::Bzip2) >= %{version}
BuildRequires: perl(Compress::Raw::Zlib) >= %{version}
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Fcntl)
BuildRequires: perl(File::Copy)
BuildRequires: perl(File::GlobMapper)
BuildRequires: perl(File::Glob)
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::File)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IO::Seekable)
BuildRequires: perl(List::Util)
BuildRequires: perl(POSIX)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Symbol)
BuildRequires: perl(Test::Pod) >= 1.00, perl(Test::NoWarnings)
BuildRequires: perl(Test::Builder), perl(Test::More), perl(Config)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::NoWarnings)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# this is wrapper for different Compress modules
Provides: perl-Compress-Zlib = %{version}-%{release}
Obsoletes: perl-Compress-Zlib < %{version}-%{release}
@ -58,7 +68,7 @@ included with the IO-Compress distribution:
chmod -x lib/IO/Uncompress/{Adapter/Identity,RawInflate}.pm
find examples -type f -exec chmod -x {} +
# 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/*
%build
@ -103,6 +113,20 @@ make test %{?with_long_tests:COMPRESS_ZLIB_RUN_ALL=1}
%{_mandir}/man3/IO::Uncompress::*.3pm*
%changelog
* Sun Jan 29 2012 Paul Howarth <paul@city-fan.org> - 2.048-1
- Update to 2.048
- Set minimum Perl version to 5.6
- Set minimum zlib version to 1.2.0
- IO::Compress::Zip:
- In one-shot zip, set the Text Flag if "-T" thinks the file is a text file
- In one-shot mode, wrote mod time and access time in wrong order in the
"UT" extended field
- IO::Compress test suite fails with Compress::Raw::Zlib 2.047 and zlib < 1.2.4
(CPAN RT#74503)
- Resync Compress::Raw::* dependency versions
- Add buildreqs for core perl modules, which might be dual-lived
- Don't use macros for commands
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 2.046-2
- Fedora 17 mass rebuild

View File

@ -1 +1 @@
3baa8d1993ff3770a8cf535ba0d6d7b4 IO-Compress-2.046.tar.gz
88b2d2488f1d008f80e3a1d2fe86da5a IO-Compress-2.048.tar.gz