[perl-CGI-Application-FastCGI] Clean up spec file

Emmanuel Seyman eseyman at fedoraproject.org
Wed Jan 11 09:34:38 UTC 2012


commit 9989ce976423f2049a1617c46778f657d0cd3c83
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Wed Jan 11 10:34:34 2012 +0100

    Clean up spec file

 perl-CGI-Application-FastCGI.spec |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/perl-CGI-Application-FastCGI.spec b/perl-CGI-Application-FastCGI.spec
index 4d89542..e229691 100644
--- a/perl-CGI-Application-FastCGI.spec
+++ b/perl-CGI-Application-FastCGI.spec
@@ -1,12 +1,11 @@
 Name:           perl-CGI-Application-FastCGI
 Version:        0.02
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        For using CGI::Application under FastCGI
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/CGI-Application-FastCGI/
 Source0:        http://www.cpan.org/authors/id/N/NA/NAOYA/CGI-Application-FastCGI-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(CGI)
 BuildRequires:  perl(CGI::Application)
@@ -30,8 +29,6 @@ programs based on CGI::Application under FastCGI.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install DESTDIR=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -42,16 +39,15 @@ 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
+* Wed Jan 11 2012 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 0.02-7
+- Clean up spec file
+
 * Tue Jun 21 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.02-6
 - Perl mass rebuild
 


More information about the scm-commits mailing list