Use fixperms macro instead of our own chmod incantation. BR

ExtUtils::MakeMaker.
This commit is contained in:
Steven Pritchard 2007-04-18 15:29:41 +00:00
parent aec1925bd4
commit de4913f938

View File

@ -1,6 +1,6 @@
Name: perl-Module-Load Name: perl-Module-Load
Version: 0.10 Version: 0.10
Release: 2%{?dist} Release: 3%{?dist}
Summary: Runtime require of both modules and files Summary: Runtime require of both modules and files
License: GPL or Artistic License: GPL or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -8,6 +8,7 @@ URL: http://search.cpan.org/dist/Module-Load/
Source0: http://www.cpan.org/authors/id/K/KA/KANE/Module-Load-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/K/KA/KANE/Module-Load-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description %description
@ -29,7 +30,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 -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; 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 %check
make test make test
@ -44,6 +45,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.10-3
- Use fixperms macro instead of our own chmod incantation.
- BR ExtUtils::MakeMaker.
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.10-2 * Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.10-2
- Fix find option order. - Fix find option order.