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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 7a35b8509eb070d1bbc0c85904811a35cb360771
Author: Emmanuel Seyman <emmanuel@xxxxxxxxx>
Date:   Sun Mar 10 10:34:55 2013 +0100

    Clean up spec file

 perl-CGI-Application-Plugin-AutoRunmode.spec |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/perl-CGI-Application-Plugin-AutoRunmode.spec b/perl-CGI-Application-Plugin-AutoRunmode.spec
index fcc838e..80e7957 100644
--- a/perl-CGI-Application-Plugin-AutoRunmode.spec
+++ b/perl-CGI-Application-Plugin-AutoRunmode.spec
@@ -1,12 +1,12 @@
 Name:           perl-CGI-Application-Plugin-AutoRunmode
 Version:        0.18
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        CGI::App plugin to automatically register runmodes
 License:        GPL+ or Artistic
-Group:          Development/Libraries
+
 URL:            http://search.cpan.org/dist/CGI-Application-Plugin-AutoRunmode/
 Source0:        http://www.cpan.org/authors/id/T/TH/THILO/CGI-Application-Plugin-AutoRunmode-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 # Run-time
@@ -21,6 +21,8 @@ BuildRequires:  perl(lib)
 BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 This plugin for CGI::Application provides easy ways to setup run modes. You
 can just write the method that implement a run mode, you do not have to
@@ -34,8 +36,6 @@ explicitly register it with CGI::App anymore.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -46,16 +46,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Mar 10 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.18-7
+- Clean up spec file
+- Add perl default filter
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.18-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux