[perl-HTTP-Cache-Transparent] Update to 1.1 and clean up spec file

Emmanuel Seyman eseyman at fedoraproject.org
Sun Jun 9 06:50:22 UTC 2013


commit f9f05cf6457880a113b205d3fe2e57e177696466
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Sun Jun 9 08:50:02 2013 +0200

    Update to 1.1 and clean up spec file

 .gitignore                       |    1 +
 perl-HTTP-Cache-Transparent.spec |   20 +++++++++-----------
 sources                          |    2 +-
 3 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7568f55..86e52c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 HTTP-Cache-Transparent-1.0.tar.gz
+/HTTP-Cache-Transparent-1.1.tar.gz
diff --git a/perl-HTTP-Cache-Transparent.spec b/perl-HTTP-Cache-Transparent.spec
index 6b48434..770a1cc 100644
--- a/perl-HTTP-Cache-Transparent.spec
+++ b/perl-HTTP-Cache-Transparent.spec
@@ -1,13 +1,11 @@
 Name:           perl-HTTP-Cache-Transparent
-Version:        1.0
-Release:        14%{?dist}
+Version:        1.1
+Release:        1%{?dist}
 Summary:        Cache the result of http get-requests persistently
 
-Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/HTTP-Cache-Transparent/
 Source0:        http://search.cpan.org/CPAN/authors/id/M/MA/MATTIASH/HTTP-Cache-Transparent-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -18,6 +16,8 @@ BuildRequires:  perl(LWP::UserAgent)
 
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 HTTP::Cache::Transparent is an implementation of http get that keeps a
 local cache of fetched pages to avoid fetching the same data from the
@@ -35,28 +35,26 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 
 
-
 %check
 make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc README Changes
 %{perl_vendorlib}/HTTP/
 %{_mandir}/man3/*.3*
 
 
 %changelog
+* Sun Jun 09 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 1.1-1
+- Update to 1.1
+- Add perl default filter
+- Remove no-longer-used macros
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index e9380f9..587f6ac 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e198345ce8eee2562c807e84d65e3b4f  HTTP-Cache-Transparent-1.0.tar.gz
+302dc2d6400ccf7e7d6c0ed45a0efc13  HTTP-Cache-Transparent-1.1.tar.gz


More information about the scm-commits mailing list