[perl-CGI-Session] 4.48 bump; Clean up spec

Jitka Plesnikova jplesnik at fedoraproject.org
Mon Aug 19 09:46:25 UTC 2013


commit 7f980d222f926d1ec01b86c8ea2f4e71afa0ffab
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date:   Mon Aug 19 11:46:07 2013 +0200

    4.48 bump; Clean up spec

 .gitignore                |    1 +
 CGI-Session-4.35-qw.patch |   41 -----------------------------------------
 perl-CGI-Session.spec     |   27 +++++++++------------------
 sources                   |    2 +-
 4 files changed, 11 insertions(+), 60 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8f833f2..528e3b0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 CGI-Session-4.35.tar.gz
+/CGI-Session-4.48.tar.gz
diff --git a/perl-CGI-Session.spec b/perl-CGI-Session.spec
index 15a9db2..7374031 100644
--- a/perl-CGI-Session.spec
+++ b/perl-CGI-Session.spec
@@ -1,17 +1,14 @@
 Name:           perl-CGI-Session
-Version:        4.35
-Release:        17%{?dist}
+Version:        4.48
+Release:        1%{?dist}
 Summary:        Persistent session data in CGI applications
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/CGI-Session/
 Source0:        http://www.cpan.org/modules/by-module/CGI/CGI-Session-%{version}.tar.gz
-# Fix deprecated use of qw//, RHBZ #754689, CPAN RT #69048
-Patch0:         CGI-Session-4.35-qw.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires:       perl(CGI)
+Requires:       perl(CGI) >= 3.26
 
 BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -22,7 +19,7 @@ BuildRequires:  perl(Text::Wrap)
 # Run-time:
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
-BuildRequires:  perl(CGI)
+BuildRequires:  perl(CGI) >= 3.26
 BuildRequires:  perl(Class::Struct)
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Digest::MD5)
@@ -41,7 +38,6 @@ BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Text::Abbrev)
 BuildRequires:  perl(vars)
 # Tests:
-BuildRequires:  perl(diagnostics)
 BuildRequires:  perl(Env)
 
 %description
@@ -53,7 +49,6 @@ CGI::Session does that and many more.
 
 %prep
 %setup -q -n CGI-Session-%{version}
-%patch0 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -61,28 +56,24 @@ make %{?_smp_mflags}
 chmod 644 examples/*
 
 %install
-rm -rf %{buildroot}
-
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %doc Changes examples README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Mon Aug 19 2013 Jitka Plesnikova <jplesnik at redhat.com> - 4.48-1
+- 4.48 bump
+- Remove all no-longer-needed macros
+- Remove cleaning of buildroot
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.35-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index f9c379a..9c8525d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d4c8e7e89b7cfd7a18d473ab04663e4e  CGI-Session-4.35.tar.gz
+7f8983aaeb92a0ba77eca8bca6d8d43a  CGI-Session-4.48.tar.gz



More information about the perl-devel mailing list