From 23656dff95210b1ee199a4262b40870355bb00f4 Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Apr 17 2007 20:50:18 +0000 Subject: Use fixperms macro instead of our own chmod incantation. BR ExtUtils::MakeMaker. --- diff --git a/perl-Crypt-DES.spec b/perl-Crypt-DES.spec index 708c710..25c36f0 100644 --- a/perl-Crypt-DES.spec +++ b/perl-Crypt-DES.spec @@ -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 2.05-4 +- Use fixperms macro instead of our own chmod incantation. +- BR ExtUtils::MakeMaker. + * Mon Aug 28 2006 Steven Pritchard 2.05-3 - Fix find option order. - Minor spec cleanup to more closely match cpanspec output.