[perl-Pod-Perldoc] Disable Perl(Tk) tests temporarily until Perl-Tk works with perl-5.20

Petr Pisar ppisar at fedoraproject.org
Tue Sep 9 06:23:51 UTC 2014


commit d941bdbce6bc2a8484249ce3a7392fdbf1e39b22
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Sep 9 08:22:42 2014 +0200

    Disable Perl(Tk) tests temporarily until Perl-Tk works with perl-5.20

 perl-Pod-Perldoc.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/perl-Pod-Perldoc.spec b/perl-Pod-Perldoc.spec
index 5982659..b77cefe 100644
--- a/perl-Pod-Perldoc.spec
+++ b/perl-Pod-Perldoc.spec
@@ -1,3 +1,6 @@
+# Disable Perl(Tk) tests temporarily until Perl-Tk works with perl-5.20
+%bcond_with tk
+
 %global cpan_version 3.24
 Name:           perl-Pod-Perldoc
 # let's overwrite the module from perl.srpm
@@ -46,11 +49,13 @@ BuildRequires:  perl(Test::More)
 # Optional tests:
 %if !%{defined perl_bootstrap}
 %if !( 0%{?rhel} >= 7 )
+%if %{with tk}
 BuildRequires:  perl(Tk)
 # Tk::FcyEntry is optional
 BuildRequires:  perl(Tk::Pod)
 %endif
 %endif
+%endif
 # Pod::Perldoc::ToMan executes roff
 Requires:       groff-base
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@@ -103,6 +108,7 @@ make test
 %changelog
 * Sun Sep 07 2014 Jitka Plesnikova <jplesnik at redhat.com> - 3.24-3
 - Perl 5.20 re-rebuild of bootstrapped packages
+- Disable Perl(Tk) tests temporarily until Perl-Tk works with perl-5.20
 
 * Tue Aug 26 2014 Jitka Plesnikova <jplesnik at redhat.com> - 3.24-2
 - Perl 5.20 rebuild



More information about the perl-devel mailing list