commit 28700a438bebef7301c0cf4c86d5ef93b5782f6f Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> Date: Wed May 30 17:01:22 2012 +0200 Clean up spec file and add perl default filter perl-CSS-Minifier.spec | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) --- diff --git a/perl-CSS-Minifier.spec b/perl-CSS-Minifier.spec index dc75058..4db7c13 100644 --- a/perl-CSS-Minifier.spec +++ b/perl-CSS-Minifier.spec @@ -1,13 +1,12 @@ Name: perl-CSS-Minifier Version: 0.01 -Release: 9%{?dist} +Release: 10%{?dist} # lib/CSS/Minifier.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: Remove unnecessary whitespace from CSS files Source: http://search.cpan.org/CPAN/authors/id/P/PM/PMICHAUX/CSS-Minifier-%{version}.tar.gz Url: http://search.cpan.org/dist/CSS-Minifier -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch @@ -15,6 +14,8 @@ BuildRequires: perl(ExtUtils::MakeMaker) # tests BuildRequires: perl(Test::More) +%{?perl_default_filter} + %description This module removes unnecessary whitespace from CSS. The primary requirement developing this module is to not break working stylesheets: @@ -37,8 +38,6 @@ repeatedly is wasteful. 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} -depth -type d -exec rmdir {} 2>/dev/null ';' @@ -48,16 +47,16 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %check make test -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) %doc README Changes %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Wed May 30 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 0.01-10 +- Clean up spec file +- Add perl default filter + * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.01-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild -- 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