[perl-CGI-Application-Plugin-LogDispatch] clean up spec file

Emmanuel Seyman eseyman at fedoraproject.org
Sun May 26 09:24:54 UTC 2013


commit 1eaf5bec5ae4f4c108e99cae40dd398e7013c05c
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Sun May 26 11:24:50 2013 +0200

    clean up spec file

 perl-CGI-Application-Plugin-LogDispatch.spec |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/perl-CGI-Application-Plugin-LogDispatch.spec b/perl-CGI-Application-Plugin-LogDispatch.spec
index 46e61d4..3b4eda1 100644
--- a/perl-CGI-Application-Plugin-LogDispatch.spec
+++ b/perl-CGI-Application-Plugin-LogDispatch.spec
@@ -1,12 +1,12 @@
 Name:           perl-CGI-Application-Plugin-LogDispatch
 Version:        1.02
-Release:        12%{?dist}
+Release:        13%{?dist}
 Summary:        Add Log::Dispatch support to CGI::Application
 License:        GPL+ or Artistic
-Group:          Development/Libraries
+
 URL:            http://search.cpan.org/dist/CGI-Application-Plugin-LogDispatch/
 Source0:        http://www.cpan.org/authors/id/C/CE/CEESHEK/CGI-Application-Plugin-LogDispatch-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 BuildArch:      noarch
 BuildRequires:  perl(CGI)
 BuildRequires:  perl(CGI::Application)
@@ -34,8 +34,6 @@ that is 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 \;
 
@@ -44,16 +42,15 @@ 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.02-13
+- Remove no-longer-needed macros
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.02-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 



More information about the perl-devel mailing list