Spec clean-up
- BR: perl(Exporter) and perl(ExtUtils::Manifest) - Use %{_fixperms} macro rather than our own chmod incantation
This commit is contained in:
parent
be7cecc83b
commit
02c51f44e3
@ -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@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@redhat.com> - 0.68-2
|
||||
- Perl mass rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user