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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit f4dd8514ee65ec4104e4a352975d52a81a0274b4
Author: Petr Písař <ppisar@xxxxxxxxxx>
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@xxxxxxxxxx>
+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@xxxxxxxxxx>
+---
+ 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@xxxxxxxxxx> - 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@xxxxxxxxxxxxxxxxxxxxxxx> - 0.015-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux