1.49 bump
This commit is contained in:
parent
edaa4b9f05
commit
102518d4cd
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@ Archive-Zip-1.30.tar.gz
|
||||
/Archive-Zip-1.46.tar.gz
|
||||
/Archive-Zip-1.47.tar.gz
|
||||
/Archive-Zip-1.48.tar.gz
|
||||
/Archive-Zip-1.49.tar.gz
|
||||
|
@ -1,23 +0,0 @@
|
||||
diff -up Archive-Zip-1.39/lib/Archive/Zip/Member.pm.orig Archive-Zip-1.39/lib/Archive/Zip/Member.pm
|
||||
--- Archive-Zip-1.39/lib/Archive/Zip/Member.pm.orig 2014-10-22 13:05:47.852592106 +0200
|
||||
+++ Archive-Zip-1.39/lib/Archive/Zip/Member.pm 2014-10-22 13:10:28.151696108 +0200
|
||||
@@ -159,16 +159,16 @@ sub bitFlag {
|
||||
# Set General Purpose Bit Flags according to the desiredCompressionLevel setting
|
||||
if ( $self->desiredCompressionLevel == 1
|
||||
|| $self->desiredCompressionLevel == 2) {
|
||||
- $self->{'bitFlag'} = DEFLATING_COMPRESSION_FAST;
|
||||
+ $self->{'bitFlag'} |= DEFLATING_COMPRESSION_FAST;
|
||||
} elsif ($self->desiredCompressionLevel == 3
|
||||
|| $self->desiredCompressionLevel == 4
|
||||
|| $self->desiredCompressionLevel == 5
|
||||
|| $self->desiredCompressionLevel == 6
|
||||
|| $self->desiredCompressionLevel == 7) {
|
||||
- $self->{'bitFlag'} = DEFLATING_COMPRESSION_NORMAL;
|
||||
+ $self->{'bitFlag'} |= DEFLATING_COMPRESSION_NORMAL;
|
||||
} elsif ($self->desiredCompressionLevel == 8
|
||||
|| $self->desiredCompressionLevel == 9) {
|
||||
- $self->{'bitFlag'} = DEFLATING_COMPRESSION_MAXIMUM;
|
||||
+ $self->{'bitFlag'} |= DEFLATING_COMPRESSION_MAXIMUM;
|
||||
}
|
||||
|
||||
if ($Archive::Zip::UNICODE) {
|
@ -1,5 +1,5 @@
|
||||
Name: perl-Archive-Zip
|
||||
Version: 1.48
|
||||
Version: 1.49
|
||||
Release: 1%{?dist}
|
||||
Summary: Perl library for accessing Zip archives
|
||||
|
||||
@ -8,8 +8,9 @@ License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/Archive-Zip/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/Archive-Zip-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
#https://rt.cpan.org/Public/Bug/Display.html?id=54827
|
||||
Patch0: Archive-Zip-cpan-rt-54827.patch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
@ -20,6 +21,7 @@ BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Compress::Raw::Zlib)
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
# Encode not used on Linux
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(File::Basename)
|
||||
@ -36,7 +38,6 @@ BuildRequires: perl(IO::Seekable)
|
||||
BuildRequires: perl(Time::Local)
|
||||
BuildRequires: perl(vars)
|
||||
# Tests
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(File::Spec::Unix)
|
||||
# IO::Scalar not used
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
@ -64,7 +65,6 @@ existing Zip files, or from existing directories, files, or strings.
|
||||
|
||||
%prep
|
||||
%setup -q -n Archive-Zip-%{version}
|
||||
%patch0 -p1
|
||||
perl -MConfig -pi -e 's|^#!/usr/local/bin/perl|$Config{startperl}|' \
|
||||
examples/selfex.pl
|
||||
for F in examples/*.pl; do
|
||||
@ -95,6 +95,9 @@ make test
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 03 2015 Petr Pisar <ppisar@redhat.com> - 1.49-1
|
||||
- 1.49 bump
|
||||
|
||||
* Fri Jun 19 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.48-1
|
||||
- 1.48 bump
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user