[libmodule-compile-perl] 06/09: Add 03-remove-digest-sha1-from-makefile.patch

Nick Morrott nickm-guest at moszumanska.debian.org
Tue Jun 21 02:04:29 UTC 2016


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

nickm-guest pushed a commit to branch master
in repository libmodule-compile-perl.

commit a54d7d1a5273b3240e9e2216a98bc837d1f81e88
Author: Nick Morrott <knowledgejunkie at gmail.com>
Date:   Tue Jun 21 01:50:58 2016 +0100

    Add 03-remove-digest-sha1-from-makefile.patch
---
 .../03-remove-digest-sha1-from-makefile.patch      | 45 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 46 insertions(+)

diff --git a/debian/patches/03-remove-digest-sha1-from-makefile.patch b/debian/patches/03-remove-digest-sha1-from-makefile.patch
new file mode 100644
index 0000000..893c6b7
--- /dev/null
+++ b/debian/patches/03-remove-digest-sha1-from-makefile.patch
@@ -0,0 +1,45 @@
+Description: Replace occurences of Digest::SHA1 in Makefile.PL and metafiles.
+ In Debian we use the core Digest::SHA module that was released with Perl 5.9.3.
+ Upstream keeps compatibility with Perl 5.8.1 so this patch is not forwarded.
+Author: Nick Morrott <knowledgejunkie at gmail.com>
+Forwarded: no
+Last-Update: 2016-06-21
+---
+--- a/META.json
++++ b/META.json
+@@ -34,7 +34,6 @@
+       },
+       "runtime" : {
+          "requires" : {
+-            "Digest::SHA1" : "2.13",
+             "perl" : "v5.8.1"
+          }
+       }
+--- a/META.yml
++++ b/META.yml
+@@ -19,7 +19,6 @@
+     - xt
+     - example
+ requires:
+-  Digest::SHA1: '2.13'
+   perl: v5.8.1
+ resources:
+   bugtracker: https://github.com/ingydotnet/module-compile-pm/issues
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -20,7 +20,6 @@
+   "LICENSE" => "perl",
+   "NAME" => "Module::Compile",
+   "PREREQ_PM" => {
+-    "Digest::SHA1" => "2.13"
+   },
+   "VERSION" => "0.35",
+   "test" => {
+@@ -30,7 +29,6 @@
+ 
+ 
+ my %FallbackPrereqs = (
+-  "Digest::SHA1" => "2.13"
+ );
+ 
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 3c7a9ad..f70b318 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01-replace-digest-sha1-with-digest-sha.patch
 02-spelling-error-in-manpage.patch
+03-remove-digest-sha1-from-makefile.patch

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



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