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:
		
							parent
							
								
									a14660a72b
								
							
						
					
					
						commit
						1038f7204c
					
				| @ -2,8 +2,8 @@ | |||||||
| %{?perl_default_filter} | %{?perl_default_filter} | ||||||
| 
 | 
 | ||||||
| Name:           perl-IO-Compress | Name:           perl-IO-Compress | ||||||
| Version:        2.046 | Version:        2.048 | ||||||
| Release:        2%{?dist} | Release:        1%{?dist} | ||||||
| Summary:        Read and write compressed data | Summary:        Read and write compressed data | ||||||
| License:        GPL+ or Artistic | License:        GPL+ or Artistic | ||||||
| Group:          Development/Libraries | Group:          Development/Libraries | ||||||
| @ -12,20 +12,30 @@ Source0:        http://www.cpan.org/authors/id/P/PM/PMQS/IO-Compress-%{version}. | |||||||
| BuildArch:      noarch | BuildArch:      noarch | ||||||
| Requires:       perl(Exporter) | Requires:       perl(Exporter) | ||||||
| BuildRequires:  perl(bytes) | BuildRequires:  perl(bytes) | ||||||
|  | BuildRequires:  perl(Carp) | ||||||
|  | BuildRequires:  perl(Config) | ||||||
| BuildRequires:  perl(constant) | BuildRequires:  perl(constant) | ||||||
| BuildRequires:  perl(Compress::Raw::Bzip2) >= 2.045 | BuildRequires:  perl(Compress::Raw::Bzip2) >= %{version} | ||||||
| BuildRequires:  perl(Compress::Raw::Zlib) >= 2.045 | BuildRequires:  perl(Compress::Raw::Zlib) >= %{version} | ||||||
|  | BuildRequires:  perl(Encode) | ||||||
|  | BuildRequires:  perl(Exporter) | ||||||
| BuildRequires:  perl(ExtUtils::MakeMaker) | BuildRequires:  perl(ExtUtils::MakeMaker) | ||||||
|  | BuildRequires:  perl(Fcntl) | ||||||
| BuildRequires:  perl(File::Copy) | BuildRequires:  perl(File::Copy) | ||||||
| BuildRequires:  perl(File::GlobMapper) | BuildRequires:  perl(File::Glob) | ||||||
|  | BuildRequires:  perl(File::Spec) | ||||||
| BuildRequires:  perl(IO::File) | BuildRequires:  perl(IO::File) | ||||||
| BuildRequires:  perl(IO::Handle) | BuildRequires:  perl(IO::Handle) | ||||||
| BuildRequires:  perl(IO::Seekable) | BuildRequires:  perl(IO::Seekable) | ||||||
|  | BuildRequires:  perl(List::Util) | ||||||
|  | BuildRequires:  perl(POSIX) | ||||||
| BuildRequires:  perl(Scalar::Util) | BuildRequires:  perl(Scalar::Util) | ||||||
| BuildRequires:  perl(Symbol) | BuildRequires:  perl(Symbol) | ||||||
| BuildRequires:  perl(Test::Pod) >= 1.00, perl(Test::NoWarnings) | BuildRequires:  perl(Test::Builder) | ||||||
| BuildRequires:  perl(Test::Builder), perl(Test::More), perl(Config) | BuildRequires:  perl(Test::NoWarnings) | ||||||
| Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) | 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 | # this is wrapper for different Compress modules | ||||||
| Provides:       perl-Compress-Zlib = %{version}-%{release} | Provides:       perl-Compress-Zlib = %{version}-%{release} | ||||||
| Obsoletes:      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 | chmod -x lib/IO/Uncompress/{Adapter/Identity,RawInflate}.pm | ||||||
| find examples -type f -exec chmod -x {} + | find examples -type f -exec chmod -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/* | ||||||
| 
 | 
 | ||||||
| %build | %build | ||||||
| @ -103,6 +113,20 @@ make test %{?with_long_tests:COMPRESS_ZLIB_RUN_ALL=1} | |||||||
| %{_mandir}/man3/IO::Uncompress::*.3pm* | %{_mandir}/man3/IO::Uncompress::*.3pm* | ||||||
| 
 | 
 | ||||||
| %changelog | %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 | * Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 2.046-2 | ||||||
| - Fedora 17 mass rebuild | - Fedora 17 mass rebuild | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user