[libcache-cache-perl] 03/06: Really (or re-) add use-Digest-SHA.patch patch
Axel Beckert
abe at deuxchevaux.org
Fri Oct 10 22:12:23 UTC 2014
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libcache-cache-perl.
commit 54d8afcb84c6f9eb03ed3ac7d86d95844358ee9e
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Sat Oct 11 00:05:29 2014 +0200
Really (or re-) add use-Digest-SHA.patch patch
Use Digest::SHA instead of the older and unavailable Digest::SHA1.
Refers to commit 036f2affb where the patch was referred in a changelog
entry, but nowhere found.
---
debian/changelog | 2 ++
debian/patches/series | 1 +
debian/patches/use-Digest-SHA.patch | 68 +++++++++++++++++++++++++++++++++++++
3 files changed, 71 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 4c17607..a15ba65 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ libcache-cache-perl (1.07-1) UNRELEASED; urgency=low
* debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg-
copyright"
* Import new upstream release
+ * Really (or re-) add use-Digest-SHA.patch patch to use Digest::SHA
+ instead of Digest::SHA1.
[ gregor herrmann ]
* Strip trailing slash from metacpan URLs.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3175d99
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-Digest-SHA.patch
diff --git a/debian/patches/use-Digest-SHA.patch b/debian/patches/use-Digest-SHA.patch
new file mode 100644
index 0000000..be42edb
--- /dev/null
+++ b/debian/patches/use-Digest-SHA.patch
@@ -0,0 +1,68 @@
+Description: Use Digest::SHA instead of unavailable Digest::SHA1
+Author: Axel Beckert <abe at debian.org>
+
+diff --git a/META.json b/META.json
+index d1d0d85..f734265 100644
+--- a/META.json
++++ b/META.json
+@@ -32,7 +32,7 @@
+ },
+ "runtime" : {
+ "requires" : {
+- "Digest::SHA1" : "2.02",
++ "Digest::SHA" : "0",
+ "Error" : "0.15",
+ "File::Spec" : "0.82",
+ "IPC::ShareLite" : "0.09",
+diff --git a/META.yml b/META.yml
+index b40a4b1..3508ee9 100644
+--- a/META.yml
++++ b/META.yml
+@@ -18,7 +18,7 @@ no_index:
+ - t
+ - inc
+ requires:
+- Digest::SHA1: '2.02'
++ Digest::SHA: '0'
+ Error: '0.15'
+ File::Spec: '0.82'
+ IPC::ShareLite: '0.09'
+diff --git a/Makefile.PL b/Makefile.PL
+index 676784a..a1c4026 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -11,7 +11,7 @@ my $VERSION_FROM = 'lib/Cache/Cache.pm';
+ my $COMPRESS = 'gzip';
+ my $SUFFIX = '.gz';
+ my $DEFAULT_PREREQ_PM = {
+- 'Digest::SHA1' => '2.02',
++ 'Digest::SHA' => '0',
+ 'File::Spec' => '0.82',
+ 'Storable' => '1.014',
+ 'IPC::ShareLite' => '0.09',
+diff --git a/README b/README
+index 5e719f0..009187b 100644
+--- a/README
++++ b/README
+@@ -46,7 +46,7 @@ CACHE::CACHE VERSUS CHI
+
+ REQUIREMENTS
+
+- Digest::SHA1
++ Digest::SHA
+ Error
+ File::Spec
+ File::Path
+diff --git a/lib/Cache/FileBackend.pm b/lib/Cache/FileBackend.pm
+index 71da59e..4d0781c 100644
+--- a/lib/Cache/FileBackend.pm
++++ b/lib/Cache/FileBackend.pm
+@@ -12,7 +12,7 @@ package Cache::FileBackend;
+
+ use strict;
+ use Cache::CacheUtils qw( Assert_Defined Build_Path Freeze_Data Thaw_Data );
+-use Digest::SHA1 qw( sha1_hex );
++use Digest::SHA qw( sha1_hex );
+ use Error;
+ use File::Path qw( mkpath );
+ use File::Temp qw( tempfile );
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcache-cache-perl.git
More information about the Pkg-perl-cvs-commits
mailing list