From 102518d4cdeb90c62223aac5fff8df869bc05fac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
Date: Mon, 3 Aug 2015 13:01:26 +0200
Subject: 1.49 bump
diff --git a/.gitignore b/.gitignore
index baf404a..8fed6fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/Archive-Zip-cpan-rt-54827.patch b/Archive-Zip-cpan-rt-54827.patch
deleted file mode 100644
index 3ecb815..0000000
--- a/Archive-Zip-cpan-rt-54827.patch
+++ /dev/null
@@ -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) {
diff --git a/perl-Archive-Zip.spec b/perl-Archive-Zip.spec
index 8e5ca28..2da218d 100644
--- a/perl-Archive-Zip.spec
+++ b/perl-Archive-Zip.spec
@@ -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}....
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(a)redhat.com> - 1.49-1
+- 1.49 bump
+
* Fri Jun 19 2015 Jitka Plesnikova <jplesnik(a)redhat.com> - 1.48-1
- 1.48 bump
diff --git a/sources b/sources
index 44f5f24..a73e456 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-39d3ee62aefd452b8b86094de46a9214 Archive-Zip-1.48.tar.gz
+35b81833e44d0001f0e1c86c72f2a6c8 Archive-Zip-1.49.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Archive-Zip.git/commit/?h=master&...