diff --git a/perl-Spiffy.spec b/perl-Spiffy.spec index 6005f5e..86f0c16 100644 --- a/perl-Spiffy.spec +++ b/perl-Spiffy.spec @@ -1,6 +1,6 @@ Name: perl-Spiffy Version: 0.30 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Framework for doing object oriented (OO) programming in Perl License: GPL or Artistic 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 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)) 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 -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 @@ -54,6 +55,10 @@ rm -rf $RPM_BUILD_ROOT %{__perl_provides} %{_mandir}/man3/* %changelog +* Wed Apr 18 2007 Steven Pritchard 0.30-7 +- Use fixperms macro instead of our own chmod incantation. +- BR ExtUtils::MakeMaker. + * Mon Sep 04 2006 Steven Pritchard 0.30-6 - Rework spec to look more like current cpanspec output.