[perl-Starman] Update to 0.3007

Emmanuel Seyman eseyman at fedoraproject.org
Sun Mar 31 07:04:40 UTC 2013


commit d3db1136027f8b20a4cd3b8dedbc9568721c026e
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Sun Mar 31 09:04:32 2013 +0200

    Update to 0.3007

 .gitignore        |    1 +
 perl-Starman.spec |   20 +++++++++++---------
 sources           |    2 +-
 3 files changed, 13 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 20ebb58..d6a74bd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
 /Starman-0.3004.tar.gz
 /Starman-0.3005.tar.gz
 /Starman-0.3006.tar.gz
+/Starman-0.3007.tar.gz
diff --git a/perl-Starman.spec b/perl-Starman.spec
index ece75dd..3525f73 100644
--- a/perl-Starman.spec
+++ b/perl-Starman.spec
@@ -1,6 +1,6 @@
 Name:           perl-Starman
-Version:        0.3006
-Release:        2%{?dist}
+Version:        0.3007
+Release:        1%{?dist}
 Summary:        High-performance preforking PSGI/Plack web server
 License:        GPL+ or Artistic
 
@@ -13,6 +13,7 @@ BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(HTTP::Date)
 BuildRequires:  perl(HTTP::Parser::XS)
 BuildRequires:  perl(HTTP::Status)
+BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Net::Server)
 BuildRequires:  perl(Net::Server::SS::PreFork)
 BuildRequires:  perl(parent)
@@ -34,19 +35,16 @@ compatible and offers HTTP/1.1 support.
 %setup -q -n Starman-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor
+./Build
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-make test
+./Build test
 
 %files
 %doc Changes README
@@ -59,6 +57,10 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Sun Mar 31 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 0.3007-1
+- Update to 0.3007
+- Switch to Module::Build as building mecanism
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3006-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 2b9f9bb..9102f14 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9fafe7a99ebe753e8a1a5bac7d9b007a  Starman-0.3006.tar.gz
+a9ca275277ea4656ec28ffcd053b8b57  Starman-0.3007.tar.gz


More information about the scm-commits mailing list