Misc. spec fixes.

This commit is contained in:
Ralf Corsépius 2011-03-29 14:49:42 +02:00
parent 32780908e9
commit be7d027e04

View File

@ -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@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@lists.fedoraproject.org> - 9999.13-10