[perl-Authen-Simple] Clean up spec file and add perl default filter

Emmanuel Seyman eseyman at fedoraproject.org
Wed Jan 11 09:15:23 UTC 2012


commit 50ca60356564df1672633112762da9b880fc1501
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Wed Jan 11 10:15:18 2012 +0100

    Clean up spec file and add perl default filter

 perl-Authen-Simple.spec |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/perl-Authen-Simple.spec b/perl-Authen-Simple.spec
index 04632e1..f374087 100644
--- a/perl-Authen-Simple.spec
+++ b/perl-Authen-Simple.spec
@@ -6,7 +6,6 @@ License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Authen-Simple/
 Source0:        http://www.cpan.org/authors/id/C/CH/CHANSEN/Authen-Simple-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Class::Accessor::Fast)
 BuildRequires:  perl(Class::Data::Inheritable)
@@ -18,6 +17,8 @@ BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 Simple and consistent framework for authentication.
 
@@ -29,8 +30,6 @@ Simple and consistent framework for authentication.
 ./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 \;
 
@@ -39,16 +38,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
+* Wed Jan 11 2012 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> 0.4-7
+- Clean up spec file
+
 * Tue Jul 19 2011 Petr Sabata <contyk at redhat.com> - 0.4-6
 - Perl mass rebuild
 


More information about the scm-commits mailing list