[perl-Module-Signature] Spec clean-up
Paul Howarth
pghmcfc at fedoraproject.org
Thu Jan 12 14:38:41 UTC 2012
commit 02c51f44e3e37feebc8330f8b1d59cf243c90bb2
Author: Paul Howarth <paul at city-fan.org>
Date: Thu Jan 12 14:38:06 2012 +0000
Spec clean-up
- BR: perl(Exporter) and perl(ExtUtils::Manifest)
- Use %{_fixperms} macro rather than our own chmod incantation
perl-Module-Signature.spec | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/perl-Module-Signature.spec b/perl-Module-Signature.spec
index 76924c2..8951049 100644
--- a/perl-Module-Signature.spec
+++ b/perl-Module-Signature.spec
@@ -1,6 +1,6 @@
Name: perl-Module-Signature
Version: 0.68
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: CPAN signature management utilities and modules
Group: Development/Libraries
License: CC0
@@ -11,13 +11,15 @@ BuildArch: noarch
BuildRequires: gnupg
BuildRequires: perl(Digest::SHA)
BuildRequires: perl(Digest::SHA1)
+BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(ExtUtils::Manifest)
BuildRequires: perl(IPC::Run)
BuildRequires: perl(Test::More)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: gnupg
Requires: perl(Digest::SHA)
Requires: perl(Digest::SHA1)
-Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Would prefer this to be Suggests: really...
Requires: perl(PAR::Dist)
@@ -46,7 +48,7 @@ rm -rf %{buildroot}
make -C Module-Signature-%{version} pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
-chmod -R u+w %{buildroot}
+%{_fixperms} %{buildroot}
%check
export GNUPGHOME=$(pwd)/gnupghome
@@ -64,6 +66,10 @@ rm -rf %{buildroot}
%{_mandir}/man3/Module::Signature.3pm*
%changelog
+* Thu Jan 12 2012 Paul Howarth <paul at city-fan.org> - 0.68-3
+- BR: perl(Exporter) and perl(ExtUtils::Manifest)
+- Use %%{_fixperms} macro rather than our own chmod incantation
+
* Fri Jun 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.68-2
- Perl mass rebuild
More information about the scm-commits
mailing list