[perl-Test-Warn] Update to 0.24

Paul Howarth pghmcfc at fedoraproject.org
Sun Apr 1 11:11:15 UTC 2012


commit b8e52c0f1e25f91a99ba985ce35714c2175258d1
Author: Paul Howarth <paul at city-fan.org>
Date:   Sun Apr 1 12:02:17 2012 +0100

    Update to 0.24
    
    - Update to 0.24 (compatibility with Carp 1.25) (#808856)
    - BR: Perl core modules that might be dual-lived
    - BR/R: at least version 1.02 of perl(Tree::DAG_Node)
    - Drop redundant buildreq perl(Test::Exception)
    - Don't need to remove empty directories from buildroot
    - Drop explicit versioned runtime dependency on Test::Builder, satisfied in
      all distributions since the dawn of time (nearly)
    - Use DESTDIR rather than PERL_INSTALL_ROOT
    - Drop %defattr, redundant since rpm 4.4
    - Drop redundant %{?perl_default_filter}
    - Make %files list more explicit
    - Don't use macros for commands

 .gitignore          |    4 +---
 perl-Test-Warn.spec |   49 +++++++++++++++++++++++++++----------------------
 sources             |    2 +-
 3 files changed, 29 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 766bb0f..de5c9b7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1 @@
-Test-Warn-0.21.zip
-/Test-Warn-0.22.tar.gz
-/Test-Warn-0.23.tar.gz
+/Test-Warn-[0-9.]*.tar.gz
diff --git a/perl-Test-Warn.spec b/perl-Test-Warn.spec
index c0f0779..01ebf25 100644
--- a/perl-Test-Warn.spec
+++ b/perl-Test-Warn.spec
@@ -1,61 +1,66 @@
 Name:           perl-Test-Warn
-Version:        0.23
-Release:        3%{?dist}
+Version:        0.24
+Release:        1%{?dist}
 Summary:        Perl extension to test methods for warnings
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Test-Warn/
 Source0:        http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Test-Warn-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp) >= 1.22
+BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Sub::Uplevel) >= 0.12
 BuildRequires:  perl(Test::Builder) >= 0.13
 BuildRequires:  perl(Test::Builder::Tester) >= 1.02
-BuildRequires:  perl(Test::Exception)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
-BuildRequires:  perl(Tree::DAG_Node)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires:       perl(Test::Builder) >= 0.13
+BuildRequires:  perl(Tree::DAG_Node) >= 1.02
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(Test::Builder::Tester) >= 1.02
-Requires:       perl(Tree::DAG_Node)
-
-%{?perl_default_filter}
+Requires:       perl(Tree::DAG_Node) >= 1.02
 
 %description
 This module provides a few convenience methods for testing warning
 based code.
 
-
 %prep
 %setup -q -n Test-Warn-%{version}
 
-
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
-
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
-%{_fixperms} $RPM_BUILD_ROOT/*
-
+%{_fixperms} $RPM_BUILD_ROOT
 
 %check
 make test
 
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/Test/
-%{_mandir}/man3/*.3pm*
-
+%{_mandir}/man3/Test::Warn.3pm*
 
 %changelog
+* Sun Apr  1 2012 Paul Howarth <paul at city-fan.org> - 0.24-1
+- Update to 0.24 (compatibility with Carp 1.25) (#808856)
+- BR: Perl core modules that might be dual-lived
+- BR/R: at least version 1.02 of perl(Tree::DAG_Node)
+- Drop redundant buildreq perl(Test::Exception)
+- Don't need to remove empty directories from buildroot
+- Drop explicit versioned runtime dependency on Test::Builder, satisfied in
+  all distributions since the dawn of time (nearly)
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+- Drop %%defattr, redundant since rpm 4.4
+- Drop redundant %%{?perl_default_filter}
+- Make %%files list more explicit
+- Don't use macros for commands
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.23-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
@@ -73,7 +78,7 @@ make test
 - update to 0.22
 
 * Wed Dec 22 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.21-4
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
 
 * Fri May 07 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.21-3
 - Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index 072da3e..4ef6b99 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-96e224cba15bf69b7513c08e70496457  Test-Warn-0.23.tar.gz
+a27990b62f8fd0aa290bb617ae0157a5  Test-Warn-0.24.tar.gz


More information about the scm-commits mailing list