|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Name: perl-Digest-SHA
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 5.95
|
|
|
|
|
Release: 348%{?dist}
|
|
|
|
|
Version: 5.96
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Perl extension for SHA-1/224/256/384/512
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -10,7 +10,13 @@ Source0: http://www.cpan.org/authors/id/M/MS/MSHELOR/Digest-SHA-%{version
|
|
|
|
|
# Since 5.80, upstream overrides CFLAGS because they think it improves
|
|
|
|
|
# performance. Revert it.
|
|
|
|
|
Patch0: Digest-SHA-5.93-Reset-CFLAGS.patch
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(Getopt::Std)
|
|
|
|
@ -59,8 +65,8 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR='%{buildroot}'
|
|
|
|
|
find '%{buildroot}' -type f -name .packlist -exec rm -f {} +
|
|
|
|
|
find '%{buildroot}' -type f -name '*.bs' -size 0 -exec rm -f {} +
|
|
|
|
|
find '%{buildroot}' -type f -name .packlist -delete
|
|
|
|
|
find '%{buildroot}' -type f -name '*.bs' -size 0 -delete
|
|
|
|
|
%{_fixperms} '%{buildroot}'/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -75,6 +81,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jul 29 2016 Petr Pisar <ppisar@redhat.com> - 1:5.96-1
|
|
|
|
|
- 5.96 bump
|
|
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.95-348
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|