Patch from bugzilla. Rebuild package after perl-5.10 will be out.
This commit is contained in:
parent
4cdd02c028
commit
8b82db1a51
@ -1,6 +1,6 @@
|
|||||||
Name: perl-libwww-perl
|
Name: perl-libwww-perl
|
||||||
Version: 5.808
|
Version: 5.808
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: A Perl interface to the World-Wide Web
|
Summary: A Perl interface to the World-Wide Web
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -18,10 +18,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(HTML::Entities), perl(URI), perl(Test::More), perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(HTML::Entities), perl(URI), perl(Test::More), perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: mailcap
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
Requires: perl(Compress::Zlib)
|
Requires: perl(Compress::Zlib)
|
||||||
Requires: perl-HTML-Parser >= 3.33
|
Requires: perl-HTML-Parser >= 3.33
|
||||||
|
Requires: mailcap
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The libwww-perl collection is a set of Perl modules which provides a
|
The libwww-perl collection is a set of Perl modules which provides a
|
||||||
@ -79,6 +80,14 @@ for file in $RPM_BUILD_ROOT%{_mandir}/man3/LWP.3pm AUTHORS README Changes; do
|
|||||||
mv -f "${file}_" "$file"
|
mv -f "${file}_" "$file"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Use system wide MIME types (link also to blib/... for "make test"). Doing
|
||||||
|
# this stuff before "make install" would not cause the symlink to be packaged
|
||||||
|
# but a copy of /etc/mime.types.
|
||||||
|
for file in {blib/lib,$RPM_BUILD_ROOT%{perl_vendorlib}}/LWP/media.types ; do
|
||||||
|
[ ! -f $file ] && echo ERROR && exit 1
|
||||||
|
ln -sf /etc/mime.types $file
|
||||||
|
done
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
@ -105,6 +114,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 7 2008 Ville Skyttä <ville.skytta at iki.fi> - 5.808-7
|
||||||
|
- Use system /etc/mime.types instead of an outdated private copy.
|
||||||
|
|
||||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.808-6
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.808-6
|
||||||
- Rebuild for perl 5.10 (again)
|
- Rebuild for perl 5.10 (again)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user