[perl-URI-Fetch] use perl_default_filter to avoid unnecessary requirement on Test::More

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 675b9e0867293745373ba7535173bafb7c94250c
Author: Iain Arnell <iarnell@xxxxxxxxx>
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@xxxxxxxxx> 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@xxxxxxxxxx> - 0.08-8
 - Mass rebuild with perl-5.12.0
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux