[perl-Test-Class: 2/2] Update to 0.42
Paul Howarth
pghmcfc at fedoraproject.org
Thu May 8 10:57:58 UTC 2014
commit 82a9d2d3ae90679587b1ef6bbe4d27649a59908d
Author: Paul Howarth <paul at city-fan.org>
Date: Thu May 8 11:57:41 2014 +0100
Update to 0.42
- New upstream release 0.42
- Properly handle thrown exceptions that stringify to the empty string before
or after chomping (https://github.com/adrianh/test-class/pull/11)
- This release by ETHER -> update source URL
- Drop workaround for CPAN RT#85106, no longer needed
0001-Lower-Module-Build-requirement.patch | 18 ------------------
Test-Class-0.42-Module-Build-version.patch | 11 +++++++++++
perl-Test-Class.spec | 23 +++++++++++++++--------
sources | 2 +-
4 files changed, 27 insertions(+), 27 deletions(-)
---
diff --git a/Test-Class-0.42-Module-Build-version.patch b/Test-Class-0.42-Module-Build-version.patch
new file mode 100644
index 0000000..141b90c
--- /dev/null
+++ b/Test-Class-0.42-Module-Build-version.patch
@@ -0,0 +1,11 @@
+--- META.yml
++++ META.yml
+@@ -11,7 +11,7 @@ build_requires:
+ base: '0'
+ overload: '0'
+ configure_requires:
+- Module::Build: '0.42'
++ Module::Build: '0.40'
+ dynamic_config: 1
+ generated_by: 'Module::Build version 0.4205, CPAN::Meta::Converter version 2.141170'
+ license: perl
diff --git a/perl-Test-Class.spec b/perl-Test-Class.spec
index 0a34b7f..dff9dbb 100644
--- a/perl-Test-Class.spec
+++ b/perl-Test-Class.spec
@@ -1,13 +1,13 @@
Name: perl-Test-Class
-Version: 0.41
-Release: 1%{?dist}.1
+Version: 0.42
+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/R/RJ/RJBS/Test-Class-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/E/ET/ETHER/Test-Class-%{version}.tar.gz
Patch0: perl-Test-Class-UTF8.patch
-Patch1: 0001-Lower-Module-Build-requirement.patch
+Patch1: Test-Class-0.42-Module-Build-version.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
BuildRequires: perl
@@ -27,6 +27,7 @@ BuildRequires: perl(warnings)
BuildRequires: perl(base)
BuildRequires: perl(Fcntl)
BuildRequires: perl(IO::File) >= 1.09
+BuildRequires: perl(overload)
BuildRequires: perl(Test)
BuildRequires: perl(Test::Builder::Tester) >= 1.02
BuildRequires: perl(Test::Exception) >= 0.25
@@ -54,7 +55,9 @@ find -type f -exec chmod -c -x {} \;
# Fix character encoding in documentation
%patch0
-%patch1 -p1
+
+# Lower Module::Build version requirement so we can build for EPEL-7
+%patch1
%build
perl Build.PL installdirs=vendor
@@ -66,9 +69,6 @@ rm -rf $RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT
%check
-# Avoid annoying noise from TAP::Parser::SourceHandler::Perl version 3.28 (CPAN RT#85106)
-export PERL5LIB="$(pwd)/no-such-directory"
-
./Build test
%clean
@@ -82,6 +82,13 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/Test::Class::MethodInfo.3pm*
%changelog
+* Thu May 8 2014 Paul Howarth <paul at city-fan.org> - 0.42-1
+- Update to 0.42
+ - Properly handle thrown exceptions that stringify to the empty string before
+ or after chomping (https://github.com/adrianh/test-class/pull/11)
+- This release by ETHER -> update source URL
+- Drop workaround for CPAN RT#85106, no longer needed
+
* Tue Jan 21 2014 Lubomir Rintel <lkundrak at v3.sk> - 0.41-1.1
- Make it build for el7
diff --git a/sources b/sources
index 67e3434..80c9a59 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-56358ad7d53a496865033c1a6dd5a162 Test-Class-0.41.tar.gz
+b4ffcae3b842c1f830afcf50990dab0b Test-Class-0.42.tar.gz
More information about the scm-commits
mailing list