rpms/perl-libwww-perl/devel perl-libwww-perl.spec,1.24,1.25

Marcela Mašláňová (mmaslano) fedora-extras-commits at redhat.com
Fri Mar 7 11:10:45 UTC 2008


Author: mmaslano

Update of /cvs/pkgs/rpms/perl-libwww-perl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19427

Modified Files:
	perl-libwww-perl.spec 
Log Message:
Patch from bugzilla. Rebuild package after perl-5.10 will be out.



Index: perl-libwww-perl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-libwww-perl/devel/perl-libwww-perl.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- perl-libwww-perl.spec	28 Feb 2008 13:14:18 -0000	1.24
+++ perl-libwww-perl.spec	7 Mar 2008 11:09:44 -0000	1.25
@@ -1,6 +1,6 @@
 Name:           perl-libwww-perl
 Version:        5.808
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        A Perl interface to the World-Wide Web
 
 Group:          Development/Libraries
@@ -18,10 +18,11 @@
 
 BuildArch:      noarch
 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(Compress::Zlib)
 Requires:       perl-HTML-Parser >= 3.33
-
+Requires:       mailcap
 
 %description
 The libwww-perl collection is a set of Perl modules which provides a
@@ -79,6 +80,14 @@
   mv -f "${file}_" "$file"
 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
 make test
 
@@ -105,6 +114,9 @@
 
 
 %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 at redhat.com> - 5.808-6
 - Rebuild for perl 5.10 (again)
 




More information about the fedora-extras-commits mailing list