File: 03-remove-digest-sha1-from-makefile.patch

package info (click to toggle)
libmodule-compile-perl 0.37-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 332 kB
  • sloc: perl: 1,831; makefile: 2
file content (45 lines) | stat: -rw-r--r-- 1,173 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Description: Replace occurrences 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@gmail.com>
Forwarded: no
Last-Update: 2016-06-21
---
--- a/META.json
+++ b/META.json
@@ -36,7 +36,6 @@
          "requires" : {
             "App::Prove" : "0",
             "Capture::Tiny" : "0",
-            "Digest::SHA1" : "2.13",
             "perl" : "v5.8.1"
          }
       }
--- a/META.yml
+++ b/META.yml
@@ -21,7 +21,6 @@ no_index:
 requires:
   App::Prove: '0'
   Capture::Tiny: '0'
-  Digest::SHA1: '2.13'
   perl: v5.8.1
 resources:
   bugtracker: https://github.com/ingydotnet/module-compile-pm/issues
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -19,7 +19,6 @@ my %WriteMakefileArgs = (
   "PREREQ_PM" => {
     "App::Prove" => 0,
     "Capture::Tiny" => 0,
-    "Digest::SHA1" => "2.13"
   },
   "VERSION" => "0.37",
   "test" => {
@@ -31,7 +30,6 @@ my %WriteMakefileArgs = (
 my %FallbackPrereqs = (
   "App::Prove" => 0,
   "Capture::Tiny" => 0,
-  "Digest::SHA1" => "2.13"
 );