diff --git a/perl-File-Slurp.spec b/perl-File-Slurp.spec index 75262ac..ddc9328 100644 --- a/perl-File-Slurp.spec +++ b/perl-File-Slurp.spec @@ -14,6 +14,8 @@ BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::Pod::Coverage) >= 1.04 BuildRequires: perl(Test::Pod) >= 1.14 +%{?perl_default_filter} + %description This module provides subs that allow you to read or write entire files with one simple call. They are designed to be simple to use, have flexible ways @@ -25,7 +27,10 @@ pseudo-files, and DATA. %prep %setup -q -n File-Slurp-%{version} -chmod 0644 lib/File/Slurp.pm extras/slurp_bench.pl +iconv -f iso8859-1 -t UTF-8 Changes > Changes~ +mv Changes~ Changes + +find \( -executable -a -type f \) -exec chmod -x {} \; %{__perl} -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' extras/slurp_bench.pl %build @@ -51,6 +56,8 @@ make test %changelog * Tue Mar 29 2011 Ralf Corsépius - 9999.15-1 - Upstream update. +- Add perl_default_filter. +- Fix encoding of "Changes". - Spec cleanup. * Tue Feb 08 2011 Fedora Release Engineering - 9999.13-10