[libarchive-any-perl] 04/07: add patch fixing package tests

Damyan Ivanov dmn at moszumanska.debian.org
Fri May 29 20:50:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

dmn pushed a commit to branch master
in repository libarchive-any-perl.

commit 0538a39c4ba72adc15191f2cfa743d9b960212b2
Author: Damyan Ivanov <dmn at debian.org>
Date:   Fri May 29 20:43:21 2015 +0000

    add patch fixing package tests
---
 debian/patches/our-ISA.patch | 36 ++++++++++++++++++++++++++++++++++++
 debian/patches/series        |  1 +
 2 files changed, 37 insertions(+)

diff --git a/debian/patches/our-ISA.patch b/debian/patches/our-ISA.patch
new file mode 100644
index 0000000..e9f4792
--- /dev/null
+++ b/debian/patches/our-ISA.patch
@@ -0,0 +1,36 @@
+Description: Declare @ISA before using it
+ Otherwise the automated package check scripts in Debian fail
+ .
+ Are these modules used at all?
+Author: Damyan Ivanov <dmn at debian.org>
+
+--- a/lib/Archive/Any/Tar.pm
++++ b/lib/Archive/Any/Tar.pm
+@@ -3,7 +3,7 @@ $Archive::Any::Tar::VERSION = '0.0942';
+ use strict;
+ 
+ require Archive::Any;
+- at ISA = qw(Archive::Any);
++our @ISA = qw(Archive::Any);
+ 
+ use Archive::Tar;
+ use Cwd;
+--- a/lib/Archive/Any/Zip.pm
++++ b/lib/Archive/Any/Zip.pm
+@@ -3,7 +3,7 @@ $Archive::Any::Zip::VERSION = '0.0942';
+ use strict;
+ 
+ require Archive::Any;
+- at ISA = qw(Archive::Any);
++our @ISA = qw(Archive::Any);
+ 
+ use Archive::Zip qw(:ERROR_CODES);
+ use Cwd;
+--- a/t/00compile.t
++++ b/t/00compile.t
+@@ -6,3 +6,5 @@ use_ok( 'Archive::Any' );
+ use_ok( 'Archive::Any::Plugin' );
+ use_ok( 'Archive::Any::Plugin::Zip' );
+ use_ok( 'Archive::Any::Plugin::Tar' );
++use_ok( 'Archive::Any::Tar' );
++use_ok( 'Archive::Any::Zip' );
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..bac966e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+our-ISA.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libarchive-any-perl.git



More information about the Pkg-perl-cvs-commits mailing list