[perl-CGI-Application-Server] Various cleanups

Emmanuel Seyman eseyman at fedoraproject.org
Sun Jan 20 15:57:12 UTC 2013


commit 87d0ce957c606ef717efd7e4d56fe426c423db99
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Sun Jan 20 16:56:57 2013 +0100

    Various cleanups

 perl-CGI-Application-Server.spec |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/perl-CGI-Application-Server.spec b/perl-CGI-Application-Server.spec
index 34d7333..9cd95c9 100644
--- a/perl-CGI-Application-Server.spec
+++ b/perl-CGI-Application-Server.spec
@@ -1,12 +1,12 @@
 Name:           perl-CGI-Application-Server
 Version:        0.062
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Simple HTTP server for developing with CGI::Application
 License:        GPL+ or Artistic
-Group:          Development/Libraries
+
 URL:            http://search.cpan.org/dist/CGI-Application-Server/
 Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/CGI-Application-Server-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 BuildArch:      noarch
 
 BuildRequires:  perl(CGI)
@@ -25,6 +25,8 @@ BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::WWW::Mechanize)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 This is a simple HTTP server for for use during development with
 CGI::Application. At this moment, it serves our needs in a very basic way.
@@ -41,8 +43,6 @@ priority).
 ./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 \;
 
@@ -51,16 +51,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 ChangeLog README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Jan 20 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 0.062-10
+- Add per default filter
+- Remove no-longer-used macros
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.062-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list