commit ea1a3241e44c4997ba10d096759f83d63bb70afe
Author: Emmanuel Seyman <[email protected]>
Date:   Sun Mar 11 11:19:56 2012 +0100

    Add perl default filter and clean up spec file

 perl-constant-boolean.spec |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/perl-constant-boolean.spec b/perl-constant-boolean.spec
index 500ef81..bf5d41d 100644
--- a/perl-constant-boolean.spec
+++ b/perl-constant-boolean.spec
@@ -1,18 +1,19 @@
 Name:           perl-constant-boolean
 Version:        0.02
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Define TRUE and FALSE constants
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/constant-boolean/
 Source0:        
http://www.cpan.org/authors/id/D/DE/DEXTER/constant-boolean-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Symbol::Util)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
+%{?perl_default_filter}
+
 %description
 Defines TRUE and FALSE constants in caller's namespace. You could use
 simple values like empty string or zero for false, or any non-empty and non-
@@ -27,8 +28,6 @@ descriptive.
 ./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 \;
 
@@ -37,16 +36,16 @@ 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 11 2012 Emmanuel Seyman <[email protected] - 0.02-6
+- Add perl default filter
+- Clean up spec file
+
 * Sat Jan 14 2012 Fedora Release Engineering <[email protected]> 
- 0.02-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to