[perl-HTTP-Parser-XS] update to 0.13

Iain Arnell iarnell at fedoraproject.org
Fri Mar 18 13:29:31 UTC 2011


commit 118c9b6bcfc964aa335bf350139f74b0559f2e04
Author: Iain Arnell <iarnell at gmail.com>
Date:   Fri Mar 18 14:24:27 2011 +0100

    update to 0.13

 .gitignore               |    1 +
 perl-HTTP-Parser-XS.spec |   18 ++++++++----------
 sources                  |    2 +-
 3 files changed, 10 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1a96ef1..31a0eda 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 HTTP-Parser-XS-0.07.tar.gz
+/HTTP-Parser-XS-0.13.tar.gz
diff --git a/perl-HTTP-Parser-XS.spec b/perl-HTTP-Parser-XS.spec
index d0905c6..98cf047 100644
--- a/perl-HTTP-Parser-XS.spec
+++ b/perl-HTTP-Parser-XS.spec
@@ -1,16 +1,15 @@
 Name:           perl-HTTP-Parser-XS
 Summary:        A fast, primitive HTTP request parser
-Version:        0.07
-Release:        4%{?dist}
+Version:        0.13
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/K/KA/KAZUHO/HTTP-Parser-XS-%{version}.tar.gz 
 URL:            http://search.cpan.org/dist/HTTP-Parser-XS
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test::More)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
+BuildRequires:  perl(Test::More) >= 0.96
 
 
 %{?perl_default_filter}
@@ -29,8 +28,6 @@ driven server.
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
@@ -42,9 +39,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 make test
 
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README
@@ -53,6 +47,10 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*.3*
 
 %changelog
+* Fri Mar 18 2011 Iain Arnell <iarnell at gmail.com> 0.13-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.07-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 652f9d3..0e95575 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-890711d599f036fe613b3c8589000a10  HTTP-Parser-XS-0.07.tar.gz
+154f57424e6d57defdeea1e16ecd42b2  HTTP-Parser-XS-0.13.tar.gz



More information about the perl-devel mailing list