[perl-CGI-Compile] Update to 0.17

Emmanuel Seyman eseyman at fedoraproject.org
Sun May 25 08:18:59 UTC 2014


commit 1f752f0bd4dabf15f3d06b0a445cde0dec9cab3f
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Sun May 25 10:18:54 2014 +0200

    Update to 0.17

 .gitignore            |    1 +
 perl-CGI-Compile.spec |   19 +++++++++++--------
 sources               |    2 +-
 3 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 60b8640..6e2695c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 CGI-Compile-0.11.tar.gz
 /CGI-Compile-0.15.tar.gz
 /CGI-Compile-0.16.tar.gz
+/CGI-Compile-0.17.tar.gz
diff --git a/perl-CGI-Compile.spec b/perl-CGI-Compile.spec
index 7a81b3d..07a7690 100644
--- a/perl-CGI-Compile.spec
+++ b/perl-CGI-Compile.spec
@@ -1,7 +1,7 @@
 Name:           perl-CGI-Compile
 Summary:        Compile .cgi scripts to a code reference like ModPerl::Registry
-Version:        0.16
-Release:        3%{?dist}
+Version:        0.17
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 
 Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/CGI-Compile-%{version}.tar.gz 
@@ -13,6 +13,7 @@ BuildRequires:  perl(CGI)
 BuildRequires:  perl(CGI::Emulate::PSGI)
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
 BuildRequires:  perl(File::pushd)
+BuildRequires:  perl(Module::Build::Tiny)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::NoWarnings)
 BuildRequires:  perl(Test::Requires)
@@ -30,18 +31,17 @@ sed -i 's/\r//' t/data_crlf.cgi t/end_crlf.cgi
 
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Build.PL --installdirs vendor
+./Build
 
 %install
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
+./Build install --destdir $RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 
 %{_fixperms} %{buildroot}/*
 
 %check
-make test
+./Build test
 
 
 %files
@@ -50,6 +50,9 @@ make test
 %{_mandir}/man3/*.3*
 
 %changelog
+* Sun May 25 2014 Emmanuel Seyman <emmanuel at seyman.fr> - 0.17-1
+- Update to 0.17
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.16-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 61d0607..6bc6e9a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-321640c3a34a1564ffc4574ea4af381d  CGI-Compile-0.16.tar.gz
+232fe23ea70de508fb77a024632befa6  CGI-Compile-0.17.tar.gz


More information about the scm-commits mailing list