[libconvert-pem-perl] 04/05: Don't use the bundled Test::Base for building, it triggers warnings.

Niko Tyni ntyni at moszumanska.debian.org
Wed May 27 18:58:41 UTC 2015


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

ntyni pushed a commit to branch master
in repository libconvert-pem-perl.

commit 5350bc38ead43afba1b4b90c2b30a6594130e75c
Author: Niko Tyni <ntyni at debian.org>
Date:   Wed May 27 20:35:48 2015 +0300

    Don't use the bundled Test::Base for building, it triggers warnings.
    
    We remove inc/* except Module::Install in debian/clean and build
    depend on the separate packages instead.
---
 debian/clean             |  8 ++++++++
 debian/control           |  2 ++
 debian/patches/clean-inc | 34 ++++++++++++++++++++++++++++++++++
 debian/patches/series    |  1 +
 4 files changed, 45 insertions(+)

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..695ab4a
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,8 @@
+inc/Spiffy.pm
+inc/Test/More.pm
+inc/Test/Exception.pm
+inc/Test/Builder/Module.pm
+inc/Test/Base.pm
+inc/Test/Base/Filter.pm
+inc/Test/Builder.pm
+inc/Sub/Uplevel.pm
diff --git a/debian/control b/debian/control
index 24addd2..8f58b7f 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,8 @@ Build-Depends: debhelper (>= 7)
 Build-Depends-Indep: libclass-errorhandler-perl,
                      libconvert-asn1-perl,
                      libcrypt-des-ede3-perl,
+                     libtest-base-perl,
+                     libtest-exception-perl,
                      perl
 Standards-Version: 3.9.1
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libconvert-pem-perl.git
diff --git a/debian/patches/clean-inc b/debian/patches/clean-inc
new file mode 100644
index 0000000..b451584
--- /dev/null
+++ b/debian/patches/clean-inc
@@ -0,0 +1,34 @@
+The bundled Test::Base is outdated and causes warnings.
+
+While at it, remove other bundled modules as well (except
+Module::Install::*); we build depend on the separate packages instead.
+
+--- libconvert-pem-perl.orig/Makefile.PL
++++ libconvert-pem-perl/Makefile.PL
+@@ -11,8 +11,8 @@
+ 
+ test_requires 'Test::More';
+ test_requires 'Test::Exception';
++test_requires 'Test::Base';
+ 
+-use_test_base;
+ auto_include_deps;
+ author_tests('xt');
+ auto_set_repository;
+--- libconvert-pem-perl.orig/MANIFEST
++++ libconvert-pem-perl/MANIFEST
+@@ -12,14 +12,6 @@
+ inc/Module/Install/TestBase.pm
+ inc/Module/Install/Win32.pm
+ inc/Module/Install/WriteAll.pm
+-inc/Spiffy.pm
+-inc/Sub/Uplevel.pm
+-inc/Test/Base.pm
+-inc/Test/Base/Filter.pm
+-inc/Test/Builder.pm
+-inc/Test/Builder/Module.pm
+-inc/Test/Exception.pm
+-inc/Test/More.pm
+ lib/Convert/PEM.pm
+ lib/Convert/PEM/CBC.pm
+ Makefile.PL
diff --git a/debian/patches/series b/debian/patches/series
index ba144da..f8e5639 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+clean-inc
 0001-Do-not-test-the-reason-for-decryption-failure-on-bad.patch

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



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