From dcc2c3f5b6f7d1a7b001133528ce63efe4751c44 Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Wed, 18 Apr 2007 16:44:02 +0000 Subject: [PATCH] Use fixperms macro instead of our own chmod incantation. BR ExtUtils::MakeMaker. --- perl-Algorithm-Diff.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/perl-Algorithm-Diff.spec b/perl-Algorithm-Diff.spec index 9d49677..d49d15b 100644 --- a/perl-Algorithm-Diff.spec +++ b/perl-Algorithm-Diff.spec @@ -1,6 +1,6 @@ Name: perl-Algorithm-Diff Version: 1.1902 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Algorithm::Diff Perl module License: GPL or Artistic Group: Development/Libraries @@ -8,6 +8,7 @@ URL: http://search.cpan.org/dist/Algorithm-Diff/ Source0: http://www.cpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -33,7 +34,7 @@ make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -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/* rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Algorithm/*.pl @@ -50,6 +51,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Wed Apr 18 2007 Steven Pritchard 1.1902-3 +- Use fixperms macro instead of our own chmod incantation. +- BR ExtUtils::MakeMaker. + * Sun Sep 17 2006 Steven Pritchard 1.1902-2 - Rebuild.