[perl-CGI-Application-Plugin-Authentication] Update to 0.20, add new BuildRequires and clean up spec file

Emmanuel Seyman eseyman at fedoraproject.org
Fri Jul 8 15:00:23 UTC 2011


commit cfafb990bf1cac77366c3fc40c68981ebd6c1605
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Fri Jul 8 17:00:09 2011 +0200

    Update to 0.20, add new BuildRequires and clean up spec file

 .gitignore                                      |    1 +
 perl-CGI-Application-Plugin-Authentication.spec |   18 +++++++++---------
 sources                                         |    2 +-
 3 files changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 97e7444..da74c9e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 CGI-Application-Plugin-Authentication-0.18.tar.gz
 /CGI-Application-Plugin-Authentication-0.19.tar.gz
+/CGI-Application-Plugin-Authentication-0.20.tar.gz
diff --git a/perl-CGI-Application-Plugin-Authentication.spec b/perl-CGI-Application-Plugin-Authentication.spec
index 843d1b0..b546aa5 100644
--- a/perl-CGI-Application-Plugin-Authentication.spec
+++ b/perl-CGI-Application-Plugin-Authentication.spec
@@ -1,12 +1,11 @@
 Name:           perl-CGI-Application-Plugin-Authentication
-Version:        0.19
-Release:        2%{?dist}
+Version:        0.20
+Release:        1%{?dist}
 Summary:        Authentication framework for CGI::Application
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/CGI-Application-Plugin-Authentication/
 Source0:        http://www.cpan.org/authors/id/S/SI/SILASMONK/CGI-Application-Plugin-Authentication-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl
 BuildRequires:  perl(Apache::Htpasswd)
@@ -21,7 +20,9 @@ BuildRequires:  perl(Crypt::PasswdMD5)
 BuildRequires:  perl(DBD::SQLite)
 BuildRequires:  perl(Digest::SHA1)
 BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Readonly)
 BuildRequires:  perl(Task::Weaken)
+BuildRequires:  perl(Test::ConsistentVersion)
 BuildRequires:  perl(Test::Exception)
 BuildRequires:  perl(Test::MockObject)
 BuildRequires:  perl(Test::More)
@@ -51,8 +52,6 @@ CGI::Application::Plugin::Authentication plugin.
 ./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 \;
 
@@ -61,16 +60,17 @@ 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 example
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jul 08 2011 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 0.20-1
+- Update to 0.20
+- Add new BuildRequires
+- Clean up spec file
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.19-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 402f0b0..dad4961 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-778f9e3c5ec4ba7702cc932d37bf9230  CGI-Application-Plugin-Authentication-0.19.tar.gz
+5b4ff96b2f703b11bae13308aee7bd30  CGI-Application-Plugin-Authentication-0.20.tar.gz


More information about the scm-commits mailing list