[perl-URI-Fetch] use perl_default_filter to avoid unnecessary requirement on Test::More
Iain Arnell
iarnell at fedoraproject.org
Sun Dec 12 06:19:48 UTC 2010
commit 675b9e0867293745373ba7535173bafb7c94250c
Author: Iain Arnell <iarnell at gmail.com>
Date: Sun Dec 12 07:19:28 2010 +0100
use perl_default_filter to avoid unnecessary requirement on Test::More
perl-URI-Fetch.spec | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/perl-URI-Fetch.spec b/perl-URI-Fetch.spec
index 4353230..b3d99cf 100644
--- a/perl-URI-Fetch.spec
+++ b/perl-URI-Fetch.spec
@@ -1,12 +1,11 @@
Name: perl-URI-Fetch
Version: 0.08
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Smart URI fetching/caching
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/URI-Fetch/
Source0: http://www.cpan.org/authors/id/B/BT/BTROTT/URI-Fetch-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -25,6 +24,8 @@ BuildRequires: perl(URI)
Requires: perl(Class::ErrorHandler)
Requires: perl(Compress::Zlib)
+%{?perl_default_filter}
+
%description
URI::Fetch is a smart client for fetching HTTP pages, notably syndication
feeds (RSS, Atom, and others), in an intelligent, bandwidth and time
@@ -38,8 +39,6 @@ saving way.
./Build
%install
-rm -rf %{buildroot}
-
./Build install destdir=%{buildroot} create_packlist=0
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
@@ -49,9 +48,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
# note: the tests involve fetching from the internet; will fail in mock.
%{?_with_network_tests: ./Build test }
-%clean
-rm -rf %{buildroot}
-
%files
%defattr(-,root,root,-)
%doc Changes README t/
@@ -59,6 +55,10 @@ rm -rf %{buildroot}
%{_mandir}/man3/*
%changelog
+* Sun Dec 12 2010 Iain Arnell <iarnell at gmail.com> 0.08-9
+- use perl_default_filter to avoid unnecessary requirement on Test::More
+- clean up spec for modern rpmbuild
+
* Fri May 07 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.08-8
- Mass rebuild with perl-5.12.0
More information about the scm-commits
mailing list