From 041b18815cbd3b153a8cef69098c882182a8c227 Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Wed, 18 Apr 2007 15:56:07 +0000 Subject: [PATCH] Use fixperms macro instead of our own chmod incantation. BR ExtUtils::MakeMaker. --- perl-Test-Portability-Files.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/perl-Test-Portability-Files.spec b/perl-Test-Portability-Files.spec index 9c7b574..7f15fd6 100644 --- a/perl-Test-Portability-Files.spec +++ b/perl-Test-Portability-Files.spec @@ -1,6 +1,6 @@ Name: perl-Test-Portability-Files Version: 0.05 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Check file names portability License: GPL or Artistic Group: Development/Libraries @@ -8,6 +8,7 @@ URL: http://search.cpan.org/dist/Test-Portability-Files/ Source0: http://www.cpan.org/authors/id/S/SA/SAPER/Test-Portability-Files-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) #BuildRequires: perl(Module::Build) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -31,10 +32,11 @@ rm -rf $RPM_BUILD_ROOT #./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 make 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/* %check #./Build test @@ -50,6 +52,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Wed Apr 18 2007 Steven Pritchard 0.05-4 +- Use fixperms macro instead of our own chmod incantation. +- BR ExtUtils::MakeMaker. + * Sat Sep 16 2006 Steven Pritchard 0.05-3 - Fix find option order.