[perl-Test-Class] Update to 0.47

Paul Howarth pghmcfc at fedoraproject.org
Mon Sep 29 11:56:10 UTC 2014


commit b51a3c94f35d3e7f61be7d33f3c22a0433b30833
Author: Paul Howarth <paul at city-fan.org>
Date:   Mon Sep 29 12:55:22 2014 +0100

    Update to 0.47
    
    - 0.47 bump; test and documentation changes only
    - Drop Module::Build version patch since we need a later Test::More than is in
      EL-7
    - No need to clean the buildroot

 Test-Class-0.43-Module-Build-version.patch |   13 -------------
 perl-Test-Class.spec                       |   21 ++++++++++-----------
 sources                                    |    2 +-
 3 files changed, 11 insertions(+), 25 deletions(-)
---
diff --git a/perl-Test-Class.spec b/perl-Test-Class.spec
index 6cd8903..18a4dca 100644
--- a/perl-Test-Class.spec
+++ b/perl-Test-Class.spec
@@ -1,17 +1,17 @@
 Name:           perl-Test-Class
-Version:        0.46
-Release:        2%{?dist}
+Version:        0.47
+Release:        1%{?dist}
 Summary:        Easily create test classes in an xUnit/JUnit style
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Test-Class/
 Source0:        http://www.cpan.org/authors/id/E/ET/ETHER/Test-Class-%{version}.tar.gz
 Patch0:         perl-Test-Class-UTF8.patch
-Patch1:         Test-Class-0.43-Module-Build-version.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:      noarch
+# Build:
 BuildRequires:  perl
-BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Module::Build) >= 0.40.04
 # Run-time:
 BuildRequires:  perl(Attribute::Handlers) >= 0.77
 BuildRequires:  perl(Carp)
@@ -58,24 +58,17 @@ find -type f -exec chmod -c -x {} \;
 # Fix character encoding in documentation
 %patch0
 
-# Lower Module::Build version requirement so we can build for EPEL-7
-%patch1 -p1
-
 %build
 perl Build.PL installdirs=vendor
 ./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
 ./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
 %{_fixperms} $RPM_BUILD_ROOT
 
 %check
 ./Build test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %doc Changes README
 %{perl_vendorlib}/Test/
@@ -84,6 +77,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/Test::Class::MethodInfo.3pm*
 
 %changelog
+* Mon Sep 29 2014 Paul Howarth <paul at city-fan.org> - 0.47-1
+- 0.47 bump; test and documentation changes only
+- Drop Module::Build version patch since we need a later Test::More than is in
+  EL-7
+- No need to clean the buildroot
+
 * Thu Aug 28 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.46-2
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index debc17a..2e62780 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-14c1b1b18728e4a08859c6e256d54cbf  Test-Class-0.46.tar.gz
+952f7ee1f490760a99e812eea33c053c  Test-Class-0.47.tar.gz


More information about the scm-commits mailing list