[perl-File-Slurp] Misc. spec fixes.

corsepiu corsepiu at fedoraproject.org
Tue Mar 29 12:49:56 UTC 2011


commit be7d027e0487f82b1151082cc7f9cfbececf163f
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Tue Mar 29 14:49:42 2011 +0200

    Misc. spec fixes.

 perl-File-Slurp.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
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 <corsepiu at fedoraproject.org> - 9999.15-1
 - Upstream update.
+- Add perl_default_filter.
+- Fix encoding of "Changes".
 - Spec cleanup.
 
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 9999.13-10


More information about the scm-commits mailing list