[perl-Test-Unit-Runner-Xml] Fix perl 5.16 compatibility
Petr Pisar
ppisar at fedoraproject.org
Tue Jun 19 09:48:04 UTC 2012
commit cab59f4e06a3b0b6d1cec6549940f612382b4f0b
Author: Petr Písař <ppisar at redhat.com>
Date: Tue Jun 19 11:44:23 2012 +0200
Fix perl 5.16 compatibility
Test-Unit-Runner-Xml-0.1-Load-File-Spec.patch | 25 +++++++++++++++++++++++++
perl-Test-Unit-Runner-Xml.spec | 4 ++++
2 files changed, 29 insertions(+), 0 deletions(-)
---
diff --git a/Test-Unit-Runner-Xml-0.1-Load-File-Spec.patch b/Test-Unit-Runner-Xml-0.1-Load-File-Spec.patch
new file mode 100644
index 0000000..c14eda7
--- /dev/null
+++ b/Test-Unit-Runner-Xml-0.1-Load-File-Spec.patch
@@ -0,0 +1,25 @@
+From e03a5a9600750bdfd1c97e819ae2df85558a8ca4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
+Date: Tue, 19 Jun 2012 11:40:31 +0200
+Subject: [PATCH] Load File::Spec
+
+https://rt.cpan.org/Public/Bug/Display.html?id=77898
+---
+ lib/Test/Unit/Runner/XML.pm | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/lib/Test/Unit/Runner/XML.pm b/lib/Test/Unit/Runner/XML.pm
+index 9521a5e..a606e78 100644
+--- a/lib/Test/Unit/Runner/XML.pm
++++ b/lib/Test/Unit/Runner/XML.pm
+@@ -2,6 +2,7 @@ package Test::Unit::Runner::XML;
+
+ use XML::Generator;
+ use Time::HiRes qw(time);
++use File::Spec;
+
+ use strict;
+ use warnings;
+--
+1.7.7.6
+
diff --git a/perl-Test-Unit-Runner-Xml.spec b/perl-Test-Unit-Runner-Xml.spec
index de54196..93b9838 100644
--- a/perl-Test-Unit-Runner-Xml.spec
+++ b/perl-Test-Unit-Runner-Xml.spec
@@ -6,6 +6,8 @@ License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-Unit-Runner-Xml/
Source0: http://www.cpan.org/modules/by-module/Test/Test-Unit-Runner-Xml-%{version}.tar.gz
+# Fix perl 5.16 compatibility, CPAN RT #77898
+Patch0: Test-Unit-Runner-Xml-0.1-Load-File-Spec.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -31,6 +33,7 @@ them to be used with Java continuous integration and reporting tools.
%prep
%setup -q -n Test-Unit-Runner-Xml-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -62,6 +65,7 @@ rm -rf $RPM_BUILD_ROOT
* Sat Jun 16 2012 Petr Pisar <ppisar at redhat.com> - 0.1-10
- Perl 5.16 rebuild
- Specify all dependencies
+- Fix perl 5.16 compatibility, CPAN RT #77898
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list