commit 6ab8a2521cd5d50129c3f76364d6ad8491304b11 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Sun Dec 12 11:14:39 2010 +0100 use perl_default_filter and clean up for modern rpmbuild perl-Cache.spec | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) --- diff --git a/perl-Cache.spec b/perl-Cache.spec index 08816b2..ee2a789 100644 --- a/perl-Cache.spec +++ b/perl-Cache.spec @@ -1,13 +1,12 @@ Name: perl-Cache Version: 2.04 -Release: 7%{?dist} +Release: 8%{?dist} Summary: The Cache interface Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Cache Source0: http://search.cpan.org/CPAN/authors/id/C/CL/CLEISHMAN/Cache-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More) @@ -16,6 +15,8 @@ BuildRequires: perl(Date::Parse) perl(Heap::Fibonacci) perl(Digest::SHA1) BuildRequires: perl(Time::HiRes) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%{?perl_default_filter} + %description The Cache modules are designed to assist a developer in persisting data for a specified period of time. Often these modules are used in web @@ -28,14 +29,12 @@ data in different manners (such as as files on a filesystem, or in memory). %prep %setup -q -n Cache-%{version} - %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT 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 d -depth -exec rmdir {} 2>/dev/null ';' @@ -46,10 +45,6 @@ chmod -R u+w $RPM_BUILD_ROOT/* make test -%clean -rm -rf $RPM_BUILD_ROOT - - %files %defattr(-,root,root,-) %doc Changes design.dia LICENSE README @@ -58,6 +53,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Dec 12 2010 Iain Arnell <iarnell@xxxxxxxxx> 2.04-8 +- use perl_default_filter +- clean up spec for modern rpmbuild + * Thu Apr 29 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 2.04-7 - Mass rebuild with perl-5.12.0 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel