Use fixperms macro instead of our own chmod incantation. BR

ExtUtils::MakeMaker.
epel9
Steven Pritchard 18 years ago
parent da9a7903d1
commit 23656dff95

@ -1,6 +1,6 @@
Name: perl-Crypt-DES
Version: 2.05
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Perl DES encryption module
License: BSD-style
Group: Development/Libraries
@ -8,6 +8,7 @@ URL: http://search.cpan.org/dist/Crypt-DES/
Source0: http://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-DES-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(Crypt::CBC)
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@ -29,7 +30,7 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
@ -45,6 +46,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*
%changelog
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 2.05-4
- Use fixperms macro instead of our own chmod incantation.
- BR ExtUtils::MakeMaker.
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 2.05-3
- Fix find option order.
- Minor spec cleanup to more closely match cpanspec output.

Loading…
Cancel
Save