[perl-CGI-Application-Plugin-Session] Various cleanups

Emmanuel Seyman eseyman at fedoraproject.org
Sun Jan 27 12:18:59 UTC 2013


commit ae191ef89af6f064c981eb6baf782baaaa11bebf
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Sun Jan 27 13:18:51 2013 +0100

    Various cleanups

 perl-CGI-Application-Plugin-Session.spec |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/perl-CGI-Application-Plugin-Session.spec b/perl-CGI-Application-Plugin-Session.spec
index e0b3e99..e23f85c 100644
--- a/perl-CGI-Application-Plugin-Session.spec
+++ b/perl-CGI-Application-Plugin-Session.spec
@@ -1,12 +1,12 @@
 Name:           perl-CGI-Application-Plugin-Session
 Version:        1.03
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Add CGI::Session support to CGI::Application
 License:        GPL+ or Artistic
-Group:          Development/Libraries
+
 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
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 BuildArch:      noarch
 BuildRequires:  perl(CGI)
 BuildRequires:  perl(CGI::Application) >= 3.21
@@ -18,6 +18,8 @@ BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 CGI::Application::Plugin::Session seamlessly adds session support to your
 CGI::Application modules by providing a CGI::Session object that is
@@ -31,8 +33,6 @@ accessible from anywhere in the application.
 ./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
@@ -41,16 +41,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 ./Build test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Jan 27 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 1.03-12
+- Add perl default filter
+- Remove no-longer-used macros
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.03-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list