[perl-CGI-Application-Plugin-Session] Update to 1.04

Emmanuel Seyman eseyman at fedoraproject.org
Sun Nov 17 08:13:09 UTC 2013


commit 8066adff94c52c4fc26c2dfd5132d500f3b3d455
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Sun Nov 17 09:13:34 2013 +0100

    Update to 1.04

 .gitignore                                         |    1 +
 ...-hash-ordering-bug-in-what-I-think-is-CGI.patch |   32 --------------------
 perl-CGI-Application-Plugin-Session.spec           |   24 ++++++++-------
 sources                                            |    2 +-
 4 files changed, 15 insertions(+), 44 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b8d3e34..09d06c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 CGI-Application-Plugin-Session-1.03.tar.gz
+/CGI-Application-Plugin-Session-1.04.tar.gz
diff --git a/perl-CGI-Application-Plugin-Session.spec b/perl-CGI-Application-Plugin-Session.spec
index 42d3dfc..7884e43 100644
--- a/perl-CGI-Application-Plugin-Session.spec
+++ b/perl-CGI-Application-Plugin-Session.spec
@@ -1,14 +1,11 @@
 Name:           perl-CGI-Application-Plugin-Session
-Version:        1.03
-Release:        14%{?dist}
+Version:        1.04
+Release:        1%{?dist}
 Summary:        Add CGI::Session support to CGI::Application
 License:        GPL+ or Artistic
 
 URL:            http://search.cpan.org/dist/CGI-Application-Plugin-Session/
-Source0:        http://www.cpan.org/authors/id/C/CE/CEESHEK/CGI-Application-Plugin-Session-%{version}.tar.gz
-# Perl 5.18 comptability,
-# https://github.com/cees/cgi-application-plugin-session/pull/1
-Patch0:         CGI-Application-Plugin-Session-1.03-work-around-hash-ordering-bug-in-what-I-think-is-CGI.patch
+Source0:        http://www.cpan.org/authors/id/F/FR/FREW/CGI-Application-Plugin-Session-%{version}.tar.gz
 
 BuildArch:      noarch
 BuildRequires:  perl(CGI)
@@ -30,20 +27,21 @@ accessible from anywhere in the application.
 
 %prep
 %setup -q -n CGI-Application-Plugin-Session-%{version}
-%patch0 -p1
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+make pure_install DESTDIR=%{buildroot}
+
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-./Build test
+make test
 
 %files
 %doc Changes README
@@ -51,6 +49,10 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_mandir}/man3/*
 
 %changelog
+* Sun Nov 17 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 1.04-1
+- Update to 1.04
+- Remove 5.18 compatibility patch (upstreamed)
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.03-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 1766254..ef60b8f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4fd76fb77afc8b1cfe721b4bc0cdafbf  CGI-Application-Plugin-Session-1.03.tar.gz
+864ba11996043ac789973e41c0cb5882  CGI-Application-Plugin-Session-1.04.tar.gz



More information about the perl-devel mailing list