[libdevel-cover-perl] 01/05: Add patch to make build reproducible.

gregor herrmann gregoa at debian.org
Wed Aug 31 18:05:23 UTC 2016


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

gregoa pushed a commit to branch master
in repository libdevel-cover-perl.

commit 549aab983c35263463bebae001ad99a92836c8f6
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Aug 31 19:55:34 2016 +0200

    Add patch to make build reproducible.
    
    Thanks: Chris Lamb for the bug report and the patch.
    Closes: #835871
---
 debian/patches/reproducible-build.patch | 19 +++++++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch
new file mode 100644
index 0000000..c2f54a2
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,19 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2016-08-31
+Bug-Debian: https://bugs.debian.org/835871
+Forwarded: https://github.com/pjcj/Devel--Cover/issues/170
+Bug: https://github.com/pjcj/Devel--Cover/issues/170
+
+--- libdevel-cover-perl-1.23.orig/Makefile.PL
++++ libdevel-cover-perl-1.23/Makefile.PL
+@@ -23,7 +23,7 @@ my $Author  = 'paul at pjcj.net';
+ my @perlbug = ("perlbug", "-a", $Author,
+                           "-s", "Installation of Devel::Cover $Version");
+ my $Perlbug = join " ", map { / / ? "'$_'" : $_ } @perlbug;
+-my $base    = getcwd;
++my $base    = "./";
+ my %inc     = map { -d $_ ? (($_ eq "." ? $_ : Cwd::abs_path($_)) => 1) : () }
+                   @INC;
+ my @inc     = sort keys %inc;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..55077d0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+reproducible-build.patch

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



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