[perl-Carp-Always] Update to 0.12, clean up spec file

Emmanuel Seyman eseyman at fedoraproject.org
Sat Oct 6 14:46:52 UTC 2012


commit b212270c94a648c8fec4a4b152204f8a1be52864
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Sat Oct 6 16:46:47 2012 +0200

    Update to 0.12, clean up spec file

 .gitignore            |    1 +
 perl-Carp-Always.spec |   19 +++++++++----------
 sources               |    2 +-
 3 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2180694..344846b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Carp-Always-0.09.tar.gz
 /Carp-Always-0.11.tar.gz
+/Carp-Always-0.12.tar.gz
diff --git a/perl-Carp-Always.spec b/perl-Carp-Always.spec
index 739c818..122c625 100644
--- a/perl-Carp-Always.spec
+++ b/perl-Carp-Always.spec
@@ -1,12 +1,11 @@
 Name:           perl-Carp-Always
-Version:        0.11
-Release:        3%{?dist}
+Version:        0.12
+Release:        1%{?dist}
 Summary:        Warn and die in Perl noisily with stack backtraces
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Carp-Always/
 Source0:        http://www.cpan.org//authors/id/F/FE/FERREIRA/Carp-Always-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 # Run-time
@@ -19,6 +18,8 @@ BuildRequires:  perl(Test::Pod) >= 1.18
 BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 This module is meant as a debugging aid. It can be used to make a script
 complain loudly with stack backtraces when warn()ing or die()ing.
@@ -39,8 +40,6 @@ mv README.utf8 README
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -53,18 +52,18 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 
 %changelog
+* Sat Oct 06 2012 Emmanuel Seyman <emmanuel at seyman.fr> - 0.12-1
+- Update to 0.12
+- Clean up spec file
+- Add perl default filter
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.11-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index fa64d25..7d0062f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8e0ca691b8e4131a587f954f000aae48  Carp-Always-0.11.tar.gz
+ddd6bf7cc978024dfcdecdde2d9e220c  Carp-Always-0.12.tar.gz


More information about the scm-commits mailing list