[perl-Digest-SHA] 5.80 bump
Petr Pisar
ppisar at fedoraproject.org
Tue Dec 11 12:59:17 UTC 2012
commit 3f69dcab689cae907264fb6270da15dc520c4e31
Author: Petr Písař <ppisar at redhat.com>
Date: Tue Dec 11 13:59:06 2012 +0100
5.80 bump
.gitignore | 1 +
Digest-SHA-5.80-reset_cflags.patch | 15 +++++++++++++++
perl-Digest-SHA.spec | 11 +++++++++--
sources | 2 +-
4 files changed, 26 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f4e576d..b4a3169 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ Digest-SHA-5.45.tar.gz
/Digest-SHA-5.72.tar.gz
/Digest-SHA-5.73.tar.gz
/Digest-SHA-5.74.tar.gz
+/Digest-SHA-5.80.tar.gz
diff --git a/Digest-SHA-5.80-reset_cflags.patch b/Digest-SHA-5.80-reset_cflags.patch
new file mode 100644
index 0000000..09c373c
--- /dev/null
+++ b/Digest-SHA-5.80-reset_cflags.patch
@@ -0,0 +1,15 @@
+--- Digest-SHA-5.80/Makefile.PL 2012-12-10 02:22:31.000000000 +0100
++++ Digest-SHA-5.74/Makefile.PL 2012-11-22 20:19:11.000000000 +0100
+@@ -37,12 +37,6 @@
+ }
+ }
+
+- # Enhance performance on Intel when using gcc
+-
+-if ($Config{archname} =~ /^i[3456]86/ && $Config{ccname} eq 'gcc') {
+- push(@extra, OPTIMIZE => '-O1 -fomit-frame-pointer');
+-}
+-
+ my %att = (
+ 'NAME' => 'Digest::SHA',
+ 'VERSION_FROM' => $PM,
diff --git a/perl-Digest-SHA.spec b/perl-Digest-SHA.spec
index 64c7027..185e270 100644
--- a/perl-Digest-SHA.spec
+++ b/perl-Digest-SHA.spec
@@ -1,12 +1,15 @@
Name: perl-Digest-SHA
Epoch: 1
-Version: 5.74
-Release: 2%{?dist}
+Version: 5.80
+Release: 1%{?dist}
Summary: Perl extension for SHA-1/224/256/384/512
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Digest-SHA/
Source0: http://www.cpan.org/authors/id/M/MS/MSHELOR/Digest-SHA-%{version}.tar.gz
+# Since 5.80 upstream overrides CFLAGS because they think it improves
+# performance. Revert it.
+Patch0: Digest-SHA-5.80-reset_cflags.patch
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time
BuildRequires: perl(Carp)
@@ -34,6 +37,7 @@ handle all types of input, including partial-byte data.
%prep
%setup -q -n Digest-SHA-%{version}
+%patch0 -p1
chmod -x examples/*
perl -MExtUtils::MakeMaker -e 'ExtUtils::MM_Unix->fixin(q{examples/dups})'
@@ -59,6 +63,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Tue Dec 11 2012 Petr Pisar <ppisar at redhat.com> - 1:5.80-1
+- 5.80 bump
+
* Fri Nov 30 2012 Petr Pisar <ppisar at redhat.com> - 1:5.74-2
- Restore epoch value broken in 5.73 bump
diff --git a/sources b/sources
index deb54e2..cf6d0d1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-671d35a73c0feaf38533465f5355aaa2 Digest-SHA-5.74.tar.gz
+e26ab85c8f4e68a56b23c1e951d5e461 Digest-SHA-5.80.tar.gz
More information about the scm-commits
mailing list