From 4d66d61220e345aa463299ef3e2ac974853537e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <[email protected]>
Date: Fri, 2 Sep 2016 14:28:14 +0200
Subject: Enable optional test with Data::Dump::Steamer
---
Mouse-2.4.2-Disable-using-Data-Dump-Streamer.patch | 15 ---------------
perl-Mouse.spec | 14 ++++----------
2 files changed, 4 insertions(+), 25 deletions(-)
delete mode 100644 Mouse-2.4.2-Disable-using-Data-Dump-Streamer.patch
diff --git a/Mouse-2.4.2-Disable-using-Data-Dump-Streamer.patch
b/Mouse-2.4.2-Disable-using-Data-Dump-Streamer.patch
deleted file mode 100644
index 6a6ade9..0000000
--- a/Mouse-2.4.2-Disable-using-Data-Dump-Streamer.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -up Mouse-2.4.2/t/001_mouse/043-parameterized-type.t.orig
Mouse-2.4.2/t/001_mouse/043-parameterized-type.t
---- Mouse-2.4.2/t/001_mouse/043-parameterized-type.t.orig 2015-05-15
14:49:16.746036154 +0200
-+++ Mouse-2.4.2/t/001_mouse/043-parameterized-type.t 2015-05-15
14:54:29.215872213 +0200
-@@ -249,7 +249,10 @@ for my $i(1 .. 2) {
- ok $myhashref->check({ a => 43, b => 100, c => 0 });
- ok !$myhashref->check({}), 'empty hash';
- ok !$myhashref->check({ foo => 42 });
-- {
-+ SKIP: {
-+ skip 'Data::Dump::Streamer; module is not available', 1 unless
-+ eval 'use Data::Dump::Streamer; 1';
-+
- local $TODO = 'See https://rt.cpan.org/Ticket/Display.html?id=71211'
- if $Config{archname} =~ /\A ia64 /xmsi;
-
diff --git a/perl-Mouse.spec b/perl-Mouse.spec
index c093a52..a839edc 100644
--- a/perl-Mouse.spec
+++ b/perl-Mouse.spec
@@ -1,15 +1,11 @@
Name: perl-Mouse
Summary: Moose minus the antlers
Version: 2.4.5
-Release: 6%{?dist}
+Release: 7%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Mouse
Source0:
http://search.cpan.org/CPAN/authors/id/S/SY/SYOHEX/Mouse-v%{version}.tar.gz
-# The build of Data::Dump::Streamer fails with 5.21.x and higher
-# Disable the optional test to build Mouse with Perl 5.22
-%bcond_with ddstreamer
-Patch0: Mouse-2.4.2-Disable-using-Data-Dump-Streamer.patch
# Module Build
BuildRequires: perl
BuildRequires: perl-devel
@@ -56,9 +52,7 @@ BuildRequires: perl(Tie::Array)
BuildRequires: perl(Tie::Hash)
BuildRequires: perl(Tie::Scalar)
# Optional Tests
-%if %{with ddstreamer}
BuildRequires: perl(Data::Dump::Streamer)
-%endif
BuildRequires: perl(Declare::Constraints::Simple)
BuildRequires: perl(HTTP::Headers)
BuildRequires: perl(Locale::US)
@@ -111,9 +105,6 @@ an experimental first release, so comments and suggestions
are very welcome.
%prep
%setup -q -n Mouse-v%{version}
-%if !%{with ddstreamer}
-%patch0 -p1
-%endif
# Fix permissions
find . -type f -exec chmod -c -x {} ';'
@@ -176,6 +167,9 @@ find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm
-f {} ';'
%{_mandir}/man3/Test::Mouse.3*
%changelog
+* Fri Sep 02 2016 Petr Pisar <[email protected]> - 2.4.5-7
+- Enable optional test with Data::Dump::Steamer (bug #1231204)
+
* Fri Jul 22 2016 Petr Pisar <[email protected]> - 2.4.5-6
- Disable Data::Dumper::streamer everywhere
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Mouse.git/commit/?h=master&id=4d66d61220e345aa463299ef3e2ac974853537e0
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://lists.fedoraproject.org/admin/lists/[email protected]