From a8d5cb2b38cbd8da9725be4adeb3568bbc54be61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Wed, 24 Jun 2015 15:17:00 +0200
Subject: Disable DDS plugin


diff --git a/perl-Devel-REPL.spec b/perl-Devel-REPL.spec
index 0033bb9..591b06f 100644
--- a/perl-Devel-REPL.spec
+++ b/perl-Devel-REPL.spec
@@ -1,3 +1,7 @@
+# DDS plugin requires Data::Dump::Streamer which does not work with perl-5.22.
+# bug #1231285, CPAN RT#105466.
+%bcond_with dds
+
 Name:           perl-Devel-REPL
 Version:        1.003026
 Release:        3%{?dist}
@@ -17,7 +21,9 @@ BuildRequires:  perl(warnings)
 BuildRequires:  perl(App::Nopaste)
 BuildRequires:  perl(B::Concise) >= 0.62
 BuildRequires:  perl(B::Keywords)
+%if %{with dds}
 BuildRequires:  perl(Data::Dump::Streamer)
+%endif
 BuildRequires:  perl(Data::Dumper::Concise)
 BuildRequires:  perl(Devel::Peek)
 BuildRequires:  perl(File::HomeDir)
@@ -66,7 +72,9 @@ are available:
     CompletionDriver::INC
     CompletionDriver::Keywords
     DDC
+%if %{with dds}
     DDS
+%endif
     Interrupt
     LexEnv
     MultiLine::PPI
@@ -112,6 +120,7 @@ Requires:       perl(:MODULE_COMPAT_%(eval "$(perl 
-V:version)"; echo $version))
 %description Plugin-DDC
 This Perl interactive shell plugin formats results with Data::Dumper::Concise.
 
+%if %{with dds}
 %package Plugin-DDS
 Summary:        Devel-REPL plugin for formatting results with 
Data::Dump::Streamer
 Requires:       %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
@@ -119,6 +128,7 @@ Requires:       perl(:MODULE_COMPAT_%(eval "$(perl 
-V:version)"; echo $version))
 
 %description Plugin-DDS
 This Perl interactive shell plugin formats results with Data::Dump::Streamer.
+%endif
 
 %package Plugin-Interrupt
 Summary:        Devel-REPL plugin for trapping INT signal
@@ -260,9 +270,11 @@ make test
 %{perl_vendorlib}/Devel/REPL/Plugin/DDC.pm
 %{_mandir}/man3/Devel::REPL::Plugin::DDC.*
 
+%if %{with dds}
 %files Plugin-DDS
 %{perl_vendorlib}/Devel/REPL/Plugin/DDS.pm
 %{_mandir}/man3/Devel::REPL::Plugin::DDS.*
+%endif
 
 %files Plugin-Interrupt
 %{perl_vendorlib}/Devel/REPL/Plugin/Interrupt.pm
@@ -293,6 +305,7 @@ make test
 * Wed Jun 24 2015 Petr Pisar <ppi...@redhat.com> - 1.003026-3
 - Specify all dependencies
 - Sub-package plugins
+- Disable DDS plugin (bug #1231285)
 
 * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 1.003026-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-Devel-REPL.git/commit/?h=master&id=a8d5cb2b38cbd8da9725be4adeb3568bbc54be61
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to