5.83 bump

This commit is contained in:
Petr Písař 2013-03-05 14:01:53 +01:00
parent bb7f5790c2
commit 5c5b328b2b
5 changed files with 37 additions and 19 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@ Digest-SHA-5.45.tar.gz
/Digest-SHA-5.80.tar.gz
/Digest-SHA-5.81.tar.gz
/Digest-SHA-5.82.tar.gz
/Digest-SHA-5.83.tar.gz

View File

@ -1,15 +0,0 @@
--- 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,

View File

@ -0,0 +1,29 @@
From 2b5f0d59a03a0e0a8310fb9172563d3b1bb107cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Tue, 5 Mar 2013 13:42:40 +0100
Subject: [PATCH] Reset CFLAGS
---
Makefile.PL | 6 ------
1 file changed, 6 deletions(-)
diff --git a/Makefile.PL b/Makefile.PL
index f367dfa..079c774 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -27,12 +27,6 @@ if ($^O eq 'VMS') {
}
}
- # 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 @srcs = map { "src/$_" } qw(sha.c sha64bit.c);
my @hdrs = map { "src/$_" } qw(sha.h sha64bit.h);
my $deps = join(' ', @srcs, @hdrs);
--
1.8.1.4

View File

@ -1,15 +1,15 @@
Name: perl-Digest-SHA
Epoch: 1
Version: 5.82
Version: 5.83
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
# Since 5.80, upstream overrides CFLAGS because they think it improves
# performance. Revert it.
Patch0: Digest-SHA-5.80-reset_cflags.patch
Patch0: Digest-SHA-5.83-Reset-CFLAGS.patch
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time
BuildRequires: perl(Carp)
@ -63,6 +63,9 @@ make test
%{_mandir}/man3/*
%changelog
* Tue Mar 05 2013 Petr Pisar <ppisar@redhat.com> - 1:5.83-1
- 5.83 bump
* Mon Jan 28 2013 Petr Pisar <ppisar@redhat.com> - 1:5.82-1
- 5.82 bump

View File

@ -1 +1 @@
dc969d2e5f843f86718c89f6012dfe8e Digest-SHA-5.82.tar.gz
e1df5618214ca7d2974f39e91a8ae2df Digest-SHA-5.83.tar.gz