[perl-Router-Simple] Update to 0.10, switch to the Build.PL build method, add perl default filter
Emmanuel Seyman
eseyman at fedoraproject.org
Fri Oct 12 16:15:51 UTC 2012
commit b25612e6c053432a5185b6760e17bd1aa4031904
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date: Fri Oct 12 18:15:41 2012 +0200
Update to 0.10, switch to the Build.PL build method, add perl default filter
.gitignore | 1 +
perl-Router-Simple.spec | 22 +++++++++++++++-------
sources | 2 +-
3 files changed, 17 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0a59e90..b80828c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/Router-Simple-0.09.tar.gz
+/Router-Simple-0.10.tar.gz
diff --git a/perl-Router-Simple.spec b/perl-Router-Simple.spec
index 224ff72..136415e 100644
--- a/perl-Router-Simple.spec
+++ b/perl-Router-Simple.spec
@@ -1,6 +1,6 @@
Name: perl-Router-Simple
-Version: 0.09
-Release: 4%{?dist}
+Version: 0.10
+Release: 1%{?dist}
Summary: Simple HTTP router
License: GPL+ or Artistic
Group: Development/Libraries
@@ -10,10 +10,13 @@ BuildArch: noarch
BuildRequires: perl(Class::Accessor::Fast)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(List::Util)
+BuildRequires: perl(Module::Build)
BuildRequires: perl(parent)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%{?perl_default_filter}
+
%description
Router::Simple is a simple router class.
@@ -21,11 +24,11 @@ Router::Simple is a simple router class.
%setup -q -n Router-Simple-%{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
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
@@ -33,14 +36,19 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
-make test
+./Build test
%files
-%doc Changes README.mkdn
+%doc Changes README
%{perl_vendorlib}/Router
%{_mandir}/man3/*
%changelog
+* Fri Oct 12 2012 Emmanuel Seyman <emmanuel at seyman.fr> - 0.10-1
+- Update to 0.10
+- Add perl default filter
+- Move to the Build.PL build method
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.09-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
diff --git a/sources b/sources
index 30a5955..394ebe3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f6be0b32e536c9dab654a7cf4defe633 Router-Simple-0.09.tar.gz
+92ae350c8ce84b17ccb72c8d2c3b59bc Router-Simple-0.10.tar.gz
More information about the perl-devel
mailing list