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

Emmanuel Seyman eseyman at fedoraproject.org
Sun May 19 09:42:02 UTC 2013


commit 50ebb67d0d0821262d471b6b7e92499448797e29
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Sun May 19 11:41:57 2013 +0200

    Clean up spec file

 perl-CGI-Application-Plugin-DebugScreen.spec |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/perl-CGI-Application-Plugin-DebugScreen.spec b/perl-CGI-Application-Plugin-DebugScreen.spec
index e6e83af..31e3a4f 100644
--- a/perl-CGI-Application-Plugin-DebugScreen.spec
+++ b/perl-CGI-Application-Plugin-DebugScreen.spec
@@ -1,12 +1,10 @@
 Name:           perl-CGI-Application-Plugin-DebugScreen
 Version:        1.00
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Add Debug support to CGI::Application
 License:        GPL+ or Artistic
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/CGI-Application-Plugin-DebugScreen/
 Source0:        http://www.cpan.org/authors/id/N/NE/NEKOKAK/CGI-Application-Plugin-DebugScreen-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(CGI::Application)
 BuildRequires:  perl(CGI::Application::Plugin::ViewCode)
@@ -17,6 +15,8 @@ BuildRequires:  perl(UNIVERSAL::require)
 BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 This plugin adds debug support to CGI::Application and works like
 Catalyst's debug mode.
@@ -29,8 +29,6 @@ Catalyst's debug mode.
 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 {} \;
@@ -41,16 +39,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 May 19 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 1.00-8
+- Add perl default filter
+- Remove no-longer-used macros
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.00-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list