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

Emmanuel Seyman eseyman at fedoraproject.org
Sun Mar 10 09:43:31 UTC 2013


commit 97184370b910d6d7babdf6c7931078f4f7356701
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Sun Mar 10 10:43:27 2013 +0100

    Clean up spec file

 perl-CGI-Application-Plugin-CAPTCHA.spec |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/perl-CGI-Application-Plugin-CAPTCHA.spec b/perl-CGI-Application-Plugin-CAPTCHA.spec
index 0f38e6b..7ab2c6e 100644
--- a/perl-CGI-Application-Plugin-CAPTCHA.spec
+++ b/perl-CGI-Application-Plugin-CAPTCHA.spec
@@ -1,12 +1,12 @@
 Name:           perl-CGI-Application-Plugin-CAPTCHA
 Version:        0.04
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Easily create, use, and verify CAPTCHAs in CGI::Application-based web apps
 License:        GPL+ or Artistic
-Group:          Development/Libraries
+
 URL:            http://search.cpan.org/dist/CGI-Application-Plugin-CAPTCHA/
 Source0:        http://www.cpan.org/authors/id/C/CR/CROMEDOME/CGI-Application-Plugin-CAPTCHA-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 BuildArch:      noarch
 BuildRequires:  perl(CGI)
 BuildRequires:  perl(CGI::Application)
@@ -35,8 +35,6 @@ verify CAPTCHAs in their CGI::Application-derived web applications.
 ./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 \;
 
@@ -45,16 +43,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 Mar 10 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 0.04-8
+- Remove no-longer-needed macros
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.04-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list