[perl-libwww-perl/f13/master] - update

Marcela Mašláňová mmaslano at fedoraproject.org
Mon Sep 27 11:41:56 UTC 2010


commit 8d82710e5204d65026d0c12164f2769ecab52f0f
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Mon Sep 27 13:40:37 2010 +0200

    - update

 .gitignore            |    1 +
 perl-libwww-perl.spec |   78 +++++++++++++++++++------------------------------
 sources               |    2 +-
 3 files changed, 32 insertions(+), 49 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ae36a1b..66e14d7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 libwww-perl-5.834.tar.gz
+/libwww-perl-5.837.tar.gz
diff --git a/perl-libwww-perl.spec b/perl-libwww-perl.spec
index 8649572..bc29598 100644
--- a/perl-libwww-perl.spec
+++ b/perl-libwww-perl.spec
@@ -1,5 +1,5 @@
 Name:           perl-libwww-perl
-Version:        5.834
+Version:        5.837
 Release:        1%{?dist}
 Summary:        A Perl interface to the World-Wide Web
 
@@ -8,57 +8,30 @@ 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
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
 BuildRequires:  perl(HTML::Entities), perl(URI), perl(Test::More), perl(ExtUtils::MakeMaker)
 BuildRequires:  mailcap
 BuildRequires:  perl(Compress::Zlib)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires:       perl(Compress::Zlib)
+Requires:       perl(Compress::Zlib), perl(MIME::Base64), perl(Net::FTP)
 Requires:       perl-HTML-Parser >= 3.33
 Requires:       mailcap
 
 %description
-The libwww-perl collection is a set of Perl modules which provides a
-simple and consistent application programming interface to the
-World-Wide Web.  The main focus of the library is to provide classes
-and functions that allow you to write WWW clients. The library also
-contain modules that are of more general use and even classes that
-help you implement simple HTTP servers.
+The libwww-perl collection is a set of Perl modules which provides a simple and
+consistent application programming interface to the World-Wide Web.  The main
+focus of the library is to provide classes and functions that allow you to
+write WWW clients. The library also contain modules that are of more general
+use and even classes that help you implement simple HTTP servers.
 
+%{?perl_default_filter}
 
 %prep
 %setup -q -n libwww-perl-%{version} 
 
-
-# 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
 # Install the aliases by default
-%{__perl} Makefile.PL INSTALLDIRS=vendor --aliases < /dev/null
+%{__perl} Makefile.PL INSTALLDIRS=perl --aliases < /dev/null
 make %{?_smp_mflags}
 
 %install
@@ -76,7 +49,7 @@ 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
+for file in {blib/lib,$RPM_BUILD_ROOT%{perl_privlib}}/LWP/media.types ; do
   [ ! -f $file ] && echo ERROR && exit 1
   ln -sf /etc/mime.types $file
 done
@@ -93,22 +66,31 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %doc AUTHORS Changes README*
 %{_bindir}/*
-%{perl_vendorlib}/lwp*.pod
-%{perl_vendorlib}/LWP.pm
-%{perl_vendorlib}/Bundle/
-%{perl_vendorlib}/File/
-%{perl_vendorlib}/HTML/
-%{perl_vendorlib}/HTTP/
-%{perl_vendorlib}/LWP/
-%{perl_vendorlib}/Net/
-%{perl_vendorlib}/WWW/
+%{perl_privlib}/lwp*.pod
+%{perl_privlib}/LWP.pm
+%{perl_privlib}/Bundle/
+%{perl_privlib}/File/
+%{perl_privlib}/HTML/
+%{perl_privlib}/HTTP/
+%{perl_privlib}/LWP/
+%{perl_privlib}/Net/
+%{perl_privlib}/WWW/
 %{_mandir}/man1/*.1*
 %{_mandir}/man3/*.3*
 
 
 %changelog
-* Thu Mar 11 2010 Marcela Mašláňová <mmaslano at redhat.com> 5.834-1
-- update #513596
+* Mon Sep 27 2010 Marcela Mašláňová <mmaslano at redhat.com> 5.837-1
+- update
+
+* Mon Jul 12 2010 Marcela Maslanova <mmaslano at redhat.com> - 5.836-1
+- update
+
+* Mon Jun 21 2010 Jesse Keating <jkeating at redhat.com> - 5.834-1
+- Bump to match what was pushed to F13.
+
+* Sun May 02 2010 Marcela Maslanova <mmaslano at redhat.com> - 5.833-3
+- Mass rebuild with perl-5.12.0
 
 * Mon Dec  7 2009 Stepan Kasal <skasal at redhat.com> - 5.833-2
 - rebuild against perl 5.10.1
diff --git a/sources b/sources
index 85d71b0..bf00914 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f2ed8a461f76556c9caed9087f47c86c  libwww-perl-5.834.tar.gz
+9bbf1bce482b0bac98bb4f04253c03d0  libwww-perl-5.837.tar.gz


More information about the scm-commits mailing list