[perl-Test-Routine] Adjust to Test-Simple-0.98_05

Petr Pisar ppisar at fedoraproject.org
Mon Aug 5 10:25:38 UTC 2013


commit f4dd8514ee65ec4104e4a352975d52a81a0274b4
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Aug 5 12:16:38 2013 +0200

    Adjust to Test-Simple-0.98_05

 ...Test-Simple-0.98_05-outputs-subtest-names.patch |   43 ++++++++++++++++++++
 perl-Test-Routine.spec                             |    4 ++
 2 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/Test-Routine-0.015-Test-Simple-0.98_05-outputs-subtest-names.patch b/Test-Routine-0.015-Test-Simple-0.98_05-outputs-subtest-names.patch
new file mode 100644
index 0000000..b9be78f
--- /dev/null
+++ b/Test-Routine-0.015-Test-Simple-0.98_05-outputs-subtest-names.patch
@@ -0,0 +1,43 @@
+From ebb614f44658cd8f63cb2f355e1e02ccd739b010 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
+Date: Mon, 5 Aug 2013 12:13:47 +0200
+Subject: [PATCH] Test-Simple-0.98_05 outputs subtest names
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+<https://rt.cpan.org/Public/Bug/Display.html?id=87615>
+<https://rt.cpan.org/Public/Bug/Display.html?id=87616>
+
+Signed-off-by: Petr Písař <ppisar at redhat.com>
+---
+ t/mxms.t | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/t/mxms.t b/t/mxms.t
+index ecb8008..28a82f1 100644
+--- a/t/mxms.t
++++ b/t/mxms.t
+@@ -23,6 +23,9 @@ BEGIN {
+         };
+     }, undef, "can create tests with methods");
+ 
++    ::test_out("    # Subtest: tests work"),
++    ::test_out("        # Subtest: foo bar")
++        if ($Test::More::VERSION >= 0.9805);
+     ::test_out("        ok 1 - The object does Test::Foo");
+     ::test_out("        1..1");
+     ::test_out("    ok 1 - foo bar");
+@@ -44,6 +47,9 @@ BEGIN {
+         };
+     }, undef, "can create tests with methods");
+ 
++    ::test_out("    # Subtest: tests work"),
++    ::test_out("        # Subtest: foobar")
++        if ($Test::More::VERSION >= 0.9805);
+     ::test_out("        ok 1 - The object does Test::Bar");
+     ::test_out("        1..1");
+     ::test_out("    ok 1 - foobar");
+-- 
+1.8.1.4
+
diff --git a/perl-Test-Routine.spec b/perl-Test-Routine.spec
index 6fce745..68a723d 100644
--- a/perl-Test-Routine.spec
+++ b/perl-Test-Routine.spec
@@ -5,6 +5,8 @@ Release:        5%{?dist}
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Test-Routine/
 Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Test-Routine-%{version}.tar.gz
+# Adjust to Test-Simple-0.98_05, CPAN RT#87615, #87616
+Patch0:         Test-Routine-0.015-Test-Simple-0.98_05-outputs-subtest-names.patch
 
 BuildArch:      noarch
 
@@ -43,6 +45,7 @@ composable units of assertion. In other words: roles.
 
 %prep
 %setup -q -n Test-Routine-%{version}
+%patch0 -p1
 
 
 %build
@@ -71,6 +74,7 @@ make test
 %changelog
 * Mon Aug 05 2013 Petr Pisar <ppisar at redhat.com> - 0.015-5
 - Perl 5.18 rebuild
+- Adjust to Test-Simple-0.98_05 (CPAN RT#87615, #87616)
 
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.015-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild



More information about the perl-devel mailing list