[perl-URI-Fetch] update to 0.09

Iain Arnell iarnell at fedoraproject.org
Sun Mar 27 07:15:41 UTC 2011


commit fa7a58e7f959ad7cc7a82e87b81740b1a7074eab
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Mar 27 08:51:30 2011 +0200

    update to 0.09

 .gitignore          |    1 +
 perl-URI-Fetch.spec |   26 ++++++++++++++++----------
 sources             |    2 +-
 3 files changed, 18 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3b96507..89f6996 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 URI-Fetch-0.08.tar.gz
+/URI-Fetch-0.09.tar.gz
diff --git a/perl-URI-Fetch.spec b/perl-URI-Fetch.spec
index b3db5cf..0311c5d 100644
--- a/perl-URI-Fetch.spec
+++ b/perl-URI-Fetch.spec
@@ -1,5 +1,5 @@
 Name:           perl-URI-Fetch
-Version:        0.08
+Version:        0.09
 Release:        11%{?dist}
 Summary:        Smart URI fetching/caching
 License:        GPL+ or Artistic
@@ -10,19 +10,19 @@ BuildArch:      noarch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 # core
-#BuildRequires: perl(Storable) 
-%{?_with_network_tests:BuildRequires: perl(Test::More)}
+BuildRequires:  perl(Storable) 
 # cpan
 BuildRequires:  perl(Cache) 
 BuildRequires:  perl(Class::ErrorHandler) 
 BuildRequires:  perl(Compress::Zlib) 
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Filter::Util::Call)
 BuildRequires:  perl(LWP) 
-BuildRequires:  perl(Module::Build) 
 BuildRequires:  perl(URI) 
 
 # not picked up automagically
-Requires:       perl(Class::ErrorHandler)
 Requires:       perl(Compress::Zlib)
+Requires:       perl(Filter::Util::Call)
 
 %{?perl_default_filter}
 
@@ -35,18 +35,19 @@ saving way.
 %setup -q -n URI-Fetch-%{version}
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-./Build install destdir=%{buildroot} create_packlist=0
+make pure_install DESTDIR=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} %{buildroot}/*
 
 %check
-# note: the tests involve fetching from the internet; will fail in mock.
-%{?_with_network_tests: ./Build test }
+make test
 
 %files
 %defattr(-,root,root,-)
@@ -55,6 +56,11 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_mandir}/man3/*
 
 %changelog
+* Sun Mar 27 2011 Iain Arnell <iarnell at gmail.com> 0.09-11
+- update to latest upstream version
+- re-enable tests now that they work without network connection
+- no more Build.PL; switch to Makefile.PL
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.08-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index a553555..6381fbf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8fb5b27b33bd18006d6c11378ae5de8d  URI-Fetch-0.08.tar.gz
+cfc746bb7f142f0f5b82ea80a4416f2b  URI-Fetch-0.09.tar.gz


More information about the perl-devel mailing list