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
epel9
Paul Howarth 11 years ago
parent 1312f88a7a
commit 82a9d2d3ae

@ -1,18 +0,0 @@
From a56c1fb7ac5df6537a0821ac26f284fd605e19c9 Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak@v3.sk>
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

@ -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

@ -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@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@v3.sk> - 0.41-1.1
- Make it build for el7

@ -1 +1 @@
56358ad7d53a496865033c1a6dd5a162 Test-Class-0.41.tar.gz
b4ffcae3b842c1f830afcf50990dab0b Test-Class-0.42.tar.gz

Loading…
Cancel
Save