[libmodule-path-perl] 03/04: remove build-dependency on Devel::FindPerl

Florian Schlichting fsfs at alioth.debian.org
Mon Aug 12 12:00:48 UTC 2013


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

fsfs pushed a commit to branch master
in repository libmodule-path-perl.

commit 39c79b34f5b845f799d5ac5263434702370d291e
Author: Florian Schlichting <fsfs at debian.org>
Date:   Mon Aug 12 13:57:16 2013 +0200

    remove build-dependency on Devel::FindPerl
---
 debian/control                      |    3 +--
 debian/patches/devel-findperl.patch |   20 ++++++++++++++++++++
 debian/patches/series               |    1 +
 3 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 6faefc4..a0a187a 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,7 @@ Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Florian Schlichting <fsfs at debian.org>
 Build-Depends: debhelper (>= 8)
-Build-Depends-Indep: libdevel-findperl-perl,
- perl
+Build-Depends-Indep: perl
 Standards-Version: 3.9.4
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libmodule-path-perl.git
 Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libmodule-path-perl.git
diff --git a/debian/patches/devel-findperl.patch b/debian/patches/devel-findperl.patch
new file mode 100644
index 0000000..3efe65d
--- /dev/null
+++ b/debian/patches/devel-findperl.patch
@@ -0,0 +1,20 @@
+Description: avoid Devel::FindPerl in t/03-mpath.t
+ On a pure Debian system (which is where we build our packages and run
+ the built tests), the Perl interpreter is always located in
+ /usr/bin/perl. So no need to package a libdevel-findperl-perl
+Author: Florian Schlichting <fsfs at debian.org>
+Forwarded: not-needed
+
+--- a/t/03-mpath.t
++++ b/t/03-mpath.t
+@@ -6,9 +6,8 @@
+ use Test::More 0.88 tests => 2;
+ use FindBin 0.05;
+ use File::Spec::Functions;
+-use Devel::FindPerl qw(find_perl_interpreter);
+ 
+-my $PERL  = find_perl_interpreter() || die "can't find perl!\n";
++my $PERL  = '/usr/bin/perl'; # unchanging on Debian
+ my $MPATH = catfile( $FindBin::Bin, updir(), qw(bin mpath) );
+ my $path;
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e5601da
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+devel-findperl.patch

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



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