From 78c94fc9c7e3a6fe79293455f27f7bee3a12e906 Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Wed, 5 Apr 2017 11:07:26 +0100
Subject: 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
---
 perl-Module-Signature.spec | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/perl-Module-Signature.spec b/perl-Module-Signature.spec
index 24516e4..ae1e0ec 100644
--- a/perl-Module-Signature.spec
+++ b/perl-Module-Signature.spec
@@ -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 <p...@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 <rel...@fedoraproject.org> - 
0.81-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
 
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Module-Signature.git/commit/?h=master&id=78c94fc9c7e3a6fe79293455f27f7bee3a12e906
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to