rpms/perl-libwww-perl/devel .cvsignore, 1.9, 1.10 perl-libwww-perl.spec, 1.18, 1.19 sources, 1.9, 1.10 filter-depends.sh, 1.2, NONE

Robin Norwood (rnorwood) fedora-extras-commits at redhat.com
Tue Aug 14 01:35:18 UTC 2007


Author: rnorwood

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

Modified Files:
	.cvsignore perl-libwww-perl.spec sources 
Removed Files:
	filter-depends.sh 
Log Message:
Update to latest cpan version.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-libwww-perl/devel/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- .cvsignore	19 Dec 2005 18:27:19 -0000	1.9
+++ .cvsignore	14 Aug 2007 01:34:46 -0000	1.10
@@ -1,2 +1 @@
-libwww-perl-5.803.tar.gz
-libwww-perl-5.805.tar.gz
+libwww-perl-5.808.tar.gz


Index: perl-libwww-perl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-libwww-perl/devel/perl-libwww-perl.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- perl-libwww-perl.spec	12 Jul 2006 07:46:21 -0000	1.18
+++ perl-libwww-perl.spec	14 Aug 2007 01:34:46 -0000	1.19
@@ -1,23 +1,21 @@
 Name:           perl-libwww-perl
-Version:        5.805
-Release: 	1.1.1
+Version:        5.808
+Release:        1%{?dist}
 Summary:        A Perl interface to the World-Wide Web
 
 Group:          Development/Libraries
-License:        GPL or Artistic
+License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/libwww-perl/
-Source0: 	http://www.cpan.org/authors/id/G/GA/GAAS/libwww-perl-%{version}.tar.gz
-Source10:       filter-depends.sh
+Source0:        http://www.cpan.org/authors/id/G/GA/GAAS/libwww-perl-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 BuildRequires:  perl >= 1:5.6.1
-BuildRequires:  perl(HTML::Entities), perl(URI)
-Requires:  	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+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)
 Requires:       perl-HTML-Parser >= 3.33
 
-%define __perl_requires %{SOURCE10}
 
 %description
 The libwww-perl collection is a set of Perl modules which provides a
@@ -33,6 +31,30 @@
 # Install the aliases by default
 %{__perl} -pi -e 's|my \$default = "n";|my \$default = "y";|' Makefile.PL
 
+# Filter unwanted Provides:
+cat << \EOF > %{name}-prov
+#!/bin/sh
+%{__perl_provides} $* |\
+  sed -e '/perl(HTTP::Headers)/d'
+EOF
+
+%define __perl_provides %{_builddir}/libwww-perl-%{version}/%{name}-prov
+chmod +x %{__perl_provides}
+
+
+# Filter unwanted Requires:
+cat << \EOF > %{name}-req
+#!/bin/sh
+%{__perl_requires} $* |\
+  sed -e '/perl(HTTP::GHTTP)/d' |\
+  sed -e '/perl(Win32)/d' |\
+  sed -e '/perl(Authen::NTLM)/d'
+EOF
+
+%define __perl_requires %{_builddir}/libwww-perl-%{version}/%{name}-req
+chmod +x %{__perl_requires}
+
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null
 make %{?_smp_mflags}
@@ -48,9 +70,9 @@
 iconv -f iso-8859-1 -t utf-8 < "$file" > "${file}_"
 mv -f "${file}_" "$file"
 
-%check || :
-#make test
-# test fails in beehive but not everything install #150363
+%check
+make test
+
 
 %clean 
 rm -rf $RPM_BUILD_ROOT
@@ -74,7 +96,13 @@
 
 
 %changelog
-* Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - sh: line 0: fg: no job control
+* Mon Aug 13 2007 Robin Norwood <rnorwood at redhat.com> - 5.808-1
+- Update to latest CPAN version
+- Re-enable tests.  We'll see if they work now
+- Move Requires filter into spec file
+- Add Provides filter for unnecessary unversioned provides
+
+* Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - 5.805-1.1.1
 - rebuild
 
 * Fri Feb 03 2006 Jason Vas Dias <jvdias at redhat.com> - 5.805-1.1


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-libwww-perl/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources	19 Dec 2005 18:27:19 -0000	1.9
+++ sources	14 Aug 2007 01:34:46 -0000	1.10
@@ -1 +1 @@
-db1eb693eee45d251966ad2bab49dbbf  libwww-perl-5.805.tar.gz
+72120d9195ab1649c2d787eb1102a90c  libwww-perl-5.808.tar.gz


--- filter-depends.sh DELETED ---




More information about the fedora-extras-commits mailing list