commit e3eb641a3afe57b390fb9b13323de33d39e515f2 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Sun Dec 12 08:00:25 2010 +0100 use perl_default_filter - clean up spec for modern rpmbuild perl-DateTime-Format-Builder.spec | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) --- diff --git a/perl-DateTime-Format-Builder.spec b/perl-DateTime-Format-Builder.spec index 4e7a06e..08ba347 100644 --- a/perl-DateTime-Format-Builder.spec +++ b/perl-DateTime-Format-Builder.spec @@ -13,14 +13,13 @@ Name: perl-DateTime-Format-Builder # 0.80 in reality, but rpm can't get it Version: 0.8000 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Create DateTime parser classes and objects Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/DateTime-Format-Builder Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Builder-%{real_version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -49,6 +48,8 @@ Provides: perl(DateTime::Format::Builder) = %{version} # not explicitly picked up Requires: perl(DateTime::Format::Strptime) +%{?perl_default_filter} + %description DateTime::Format::Builder creates DateTime parsers. Many string formats of dates and times are simple and just require a basic regular expression to @@ -90,8 +91,6 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} - make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} + find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' @@ -103,10 +102,6 @@ find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' make test -%clean -rm -rf %{buildroot} - - %files %defattr(-,root,root,-) %doc COPYING Artistic Changes AUTHORS CREDITS LICENSE README examples/ t/ @@ -115,6 +110,10 @@ rm -rf %{buildroot} %changelog +* Sun Dec 12 2010 Iain Arnell <iarnell@xxxxxxxxx> 0.8000-3 +- use perl_default_filter +- clean up spec for modern rpmbuild + * Fri May 14 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.8000-2 - add provides with rpm version for other packages -- 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