[perl-Test-Exception] Update to 0.35

Paul Howarth pghmcfc at fedoraproject.org
Tue Sep 23 19:10:32 UTC 2014


commit d0ab39c0780fc94aee47a37c5ea31976c934763f
Author: Paul Howarth <paul at city-fan.org>
Date:   Tue Sep 23 20:07:34 2014 +0100

    Update to 0.35
    
    - New upstream release 0.35
      - Fix a bug when Test::Builder isn't new (better version)
    - Switch to ExtUtils::MakeMaker flow
    - Classify buildreqs by usage

 perl-Test-Exception.spec |   35 ++++++++++++++++++++++-------------
 sources                  |    2 +-
 2 files changed, 23 insertions(+), 14 deletions(-)
---
diff --git a/perl-Test-Exception.spec b/perl-Test-Exception.spec
index 1681b29..20bf8e5 100644
--- a/perl-Test-Exception.spec
+++ b/perl-Test-Exception.spec
@@ -1,26 +1,28 @@
 Name:           perl-Test-Exception
-Version:        0.34
+Version:        0.35
 Release:        1%{?dist}
 Summary:        Library of test functions for exception based Perl code
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Test-Exception/
 Source0:        http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/Test-Exception-%{version}.tar.gz
 BuildArch:      noarch
+# Module Build
 BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Module Runtime
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Exporter)
-BuildRequires:  perl(Module::Build) >= 0.42
-BuildRequires:  perl(overload)
 BuildRequires:  perl(strict)
 BuildRequires:  perl(Sub::Uplevel) >= 0.18
-BuildRequires:  perl(Test::Builder) >= 0.7
-BuildRequires:  perl(Test::Builder::Tester) >= 1.07
-BuildRequires:  perl(Test::Harness) >= 2.03
-BuildRequires:  perl(Test::More) >= 0.7
-BuildRequires:  perl(Test::Pod)
-BuildRequires:  perl(Test::Simple) >= 0.7
+BuildRequires:  perl(Test::Builder)
 BuildRequires:  perl(warnings)
+# Test Suite
+BuildRequires:  perl(overload)
+BuildRequires:  perl(Test::Builder::Tester)
+BuildRequires:  perl(Test::Harness)
+BuildRequires:  perl(Test::More)
+# Runtime
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %{?perl_default_filter}
@@ -37,15 +39,16 @@ Test::More and friends.
 chmod -c -x Changes
 
 %build
-perl Build.PL --installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-./Build install --destdir=%{buildroot} --create_packlist=0
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 %{_fixperms} %{buildroot}
 
 %check
-./Build test
+make test
 
 %files
 %doc Changes README
@@ -53,6 +56,12 @@ perl Build.PL --installdirs=vendor
 %{_mandir}/man3/Test::Exception.3pm*
 
 %changelog
+* Tue Sep 23 2014 Paul Howarth <paul at city-fan.org> - 0.35-1
+- Update to 0.35
+  - Fix a bug when Test::Builder isn't new (better version)
+- Switch to ExtUtils::MakeMaker flow
+- Classify buildreqs by usage
+
 * Sat Sep 20 2014 Paul Howarth <paul at city-fan.org> - 0.34-1
 - Update to 0.34
   - Fixed test broken by changes in Test::Builder and friends
diff --git a/sources b/sources
index e1c268d..bb8e021 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5a3fe2964bf189439089f1a72674358b  Test-Exception-0.34.tar.gz
+d774ff26e5fcd67d6364a990b61e62ca  Test-Exception-0.35.tar.gz


More information about the scm-commits mailing list