various fixes from package review.

This commit is contained in:
Robin Norwood 2007-10-26 19:51:17 +00:00
parent 3cea64e8de
commit 5ff78e4a49

View File

@ -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
@ -17,7 +17,6 @@ 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 <rnorwood@redhat.com> - 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 <rnorwood@redhat.com> - 5.808-3
- Make provides script filter out only the unversioned HTTP::Headers.