[perl-CGI-Application-Plugin-Forward] Clean up spec file

Emmanuel Seyman eseyman at fedoraproject.org
Sun May 26 09:12:40 UTC 2013


commit 8d5d0340b6e71e358af0a2e9104f5e03c30875aa
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Sun May 26 11:12:34 2013 +0200

    Clean up spec file

 perl-CGI-Application-Plugin-Forward.spec |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/perl-CGI-Application-Plugin-Forward.spec b/perl-CGI-Application-Plugin-Forward.spec
index 55a6652..894473e 100644
--- a/perl-CGI-Application-Plugin-Forward.spec
+++ b/perl-CGI-Application-Plugin-Forward.spec
@@ -1,12 +1,12 @@
 Name:           perl-CGI-Application-Plugin-Forward
 Version:        1.06
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Pass control from one run mode to another in CGI::Application
 License:        GPL+ or Artistic
-Group:          Development/Libraries
+
 URL:            http://search.cpan.org/dist/CGI-Application-Plugin-Forward/
 Source0:        http://www.cpan.org/authors/id/M/MG/MGRAHAM/CGI-Application-Plugin-Forward-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 BuildArch:      noarch
 BuildRequires:  perl(CGI)
 BuildRequires:  perl(CGI::Application)
@@ -16,6 +16,8 @@ BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 This module gives CGI::Application a forward method that passes control
 to another run mode and returns its output. This is equivalent to calling
@@ -30,8 +32,6 @@ the current run mode is updated.
 ./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 \;
 
@@ -40,16 +40,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 May 26 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 1.06-12
+- Add perl default filter
+- Remove no-longer-used macros
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.06-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 



More information about the perl-devel mailing list