From 82a9d2d3ae90679587b1ef6bbe4d27649a59908d Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Thu, 8 May 2014 11:57:41 +0100 Subject: [PATCH] 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(-) delete mode 100644 0001-Lower-Module-Build-requirement.patch create mode 100644 Test-Class-0.42-Module-Build-version.patch diff --git a/0001-Lower-Module-Build-requirement.patch b/0001-Lower-Module-Build-requirement.patch deleted file mode 100644 index adc5007..0000000 --- a/0001-Lower-Module-Build-requirement.patch +++ /dev/null @@ -1,18 +0,0 @@ -From a56c1fb7ac5df6537a0821ac26f284fd605e19c9 Mon Sep 17 00:00:00 2001 -From: Lubomir Rintel -Date: Tue, 14 Jan 2014 16:05:48 +0100 -Subject: [PATCH] Lower Module::Build requirement - -diff --git a/META.yml b/META.yml -index 7ba3bd4..30c6505 100644 ---- a/META.yml -+++ b/META.yml -@@ -6,7 +6,7 @@ build_requires: - IO::File: 1.09 - Test::Exception: 0.25 - configure_requires: -- Module::Build: 0.42 -+ Module::Build: 0.40 - dynamic_config: 1 - generated_by: 'Module::Build version 0.4203, CPAN::Meta::Converter version 2.132830' - license: perl 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 - 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 - 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