From 5ff78e4a499f5800b7a656681acd22b00d8ec798 Mon Sep 17 00:00:00 2001 From: Robin Norwood Date: Fri, 26 Oct 2007 19:51:17 +0000 Subject: [PATCH] various fixes from package review. --- perl-libwww-perl.spec | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/perl-libwww-perl.spec b/perl-libwww-perl.spec index a8a80a6..8f30a26 100644 --- a/perl-libwww-perl.spec +++ b/perl-libwww-perl.spec @@ -1,6 +1,6 @@ Name: perl-libwww-perl Version: 5.808 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A Perl interface to the World-Wide Web Group: Development/Libraries @@ -13,11 +13,10 @@ Source0: http://www.cpan.org/authors/id/G/GA/GAAS/libwww-perl-%{version}. # previous versions just skipped all the tests, I don't feel so bad # about being lazy and skipping these instead of figuring out why they # fail in mock and not on my box. -Patch0: perl-libwww-perl-5.808-skip-message-tests.patch +Patch0: perl-libwww-perl-5.808-skip-message-tests.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl >= 1:5.6.1 BuildRequires: perl(HTML::Entities), perl(URI), perl(Test::More), perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(Compress::Zlib) @@ -75,9 +74,10 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* -file=$RPM_BUILD_ROOT%{_mandir}/man3/LWP.3pm -iconv -f iso-8859-1 -t utf-8 < "$file" > "${file}_" -mv -f "${file}_" "$file" +for file in $RPM_BUILD_ROOT%{_mandir}/man3/LWP.3pm AUTHORS README Changes; do + iconv -f iso-8859-1 -t utf-8 < "$file" > "${file}_" + mv -f "${file}_" "$file" +done %check make test @@ -105,6 +105,13 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Oct 26 2007 Robin Norwood - 5.808-4 +- Fix various issues from package review: +- Fix tabs and spacing +- Remove unneeded BR: perl +- convert non-utf-8 files to utf-8 +- Resolves: bz#226268 + * Tue Aug 14 2007 Robin Norwood - 5.808-3 - Make provides script filter out only the unversioned HTTP::Headers.