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