Use gnupg2 rather than gnupg, and drop EL-5 support
- Use gnupg2 rather than gnupg (#1439089) - Drop EL-5 support - Drop BuildRoot: and Group: tags - Drop buildroot cleaning in %install - Drop explicit %clean section
This commit is contained in:
parent
2199bd7846
commit
78c94fc9c7
@ -1,12 +1,10 @@
|
||||
Name: perl-Module-Signature
|
||||
Version: 0.81
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: CPAN signature management utilities and modules
|
||||
Group: Development/Libraries
|
||||
License: CC0
|
||||
URL: http://search.cpan.org/dist/Module-Signature/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/Module-Signature-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||
BuildArch: noarch
|
||||
# Module build
|
||||
BuildRequires: coreutils
|
||||
@ -18,7 +16,7 @@ BuildRequires: perl(base)
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Module runtime
|
||||
BuildRequires: gnupg
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Digest::SHA)
|
||||
BuildRequires: perl(Digest::SHA1)
|
||||
@ -38,7 +36,7 @@ BuildRequires: perl(Pod::Usage)
|
||||
BuildRequires: perl(Test::More)
|
||||
# Module runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: gnupg
|
||||
Requires: gnupg2
|
||||
Requires: perl(Digest::SHA)
|
||||
Requires: perl(Digest::SHA1)
|
||||
Requires: perl(File::Temp)
|
||||
@ -62,18 +60,14 @@ perl Makefile.PL INSTALLDIRS=vendor --skipdeps </dev/null
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
%{_fixperms} %{buildroot}
|
||||
%{_fixperms} -c %{buildroot}
|
||||
|
||||
%check
|
||||
export GNUPGHOME=$(pwd)/gnupghome
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%doc AUTHORS Changes README *.pub
|
||||
%{_bindir}/cpansign
|
||||
@ -82,6 +76,13 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/Module::Signature.3*
|
||||
|
||||
%changelog
|
||||
* Wed Apr 5 2017 Paul Howarth <paul@city-fan.org> - 0.81-3
|
||||
- Use gnupg2 rather than gnupg (#1439089)
|
||||
- Drop EL-5 support
|
||||
- Drop BuildRoot: and Group: tags
|
||||
- Drop buildroot cleaning in %%install
|
||||
- Drop explicit %%clean section
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.81-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user