Use fixperms macro instead of our own chmod incantation. BR

ExtUtils::MakeMaker.
epel9
Steven Pritchard 18 years ago
parent fa616720f1
commit c4ec22dc22

@ -1,6 +1,6 @@
Name: perl-Spiffy Name: perl-Spiffy
Version: 0.30 Version: 0.30
Release: 6%{?dist} Release: 7%{?dist}
Summary: Framework for doing object oriented (OO) programming in Perl Summary: Framework for doing object oriented (OO) programming in Perl
License: GPL or Artistic License: GPL or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -8,6 +8,7 @@ URL: http://search.cpan.org/dist/Spiffy/
Source0: http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{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))
Source99: Spiffy-filter-provides.sh Source99: Spiffy-filter-provides.sh
@ -39,7 +40,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
@ -54,6 +55,10 @@ rm -rf $RPM_BUILD_ROOT %{__perl_provides}
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.30-7
- Use fixperms macro instead of our own chmod incantation.
- BR ExtUtils::MakeMaker.
* Mon Sep 04 2006 Steven Pritchard <steve@kspei.com> 0.30-6 * Mon Sep 04 2006 Steven Pritchard <steve@kspei.com> 0.30-6
- Rework spec to look more like current cpanspec output. - Rework spec to look more like current cpanspec output.

Loading…
Cancel
Save