[perl-Exception-Base] Clean up spec file and add perl default filter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 5124a1ea9f542c9dd2790d1f4797ce4a7fb85b6e
Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx>
Date:   Wed May 30 22:15:40 2012 +0200

    Clean up spec file and add perl default filter

 perl-Exception-Base.spec |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/perl-Exception-Base.spec b/perl-Exception-Base.spec
index 6e3abf6..7c5b766 100644
--- a/perl-Exception-Base.spec
+++ b/perl-Exception-Base.spec
@@ -1,17 +1,18 @@
 Name:           perl-Exception-Base
 Version:        0.2401
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Lightweight exceptions
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Exception-Base/
 Source0:        http://www.cpan.org/authors/id/D/DE/DEXTER/Exception-Base-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Test::Unit::Lite)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 This class implements a fully OO exception mechanism similar to
 Exception::Class or Class::Throwable. It provides a simple interface
@@ -27,8 +28,6 @@ default verbosity is uppered for debugging purposes.
 ./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 Incompatibilities README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed May 30 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 0.2401-5
+- Clean up spec file
+- Add perl default filter
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.2401-4
 - 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
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux