[perl-Pod-Perldoc] Do not build-require perl(Tk) on RHEL >= 7

Petr Pisar ppisar at fedoraproject.org
Wed Aug 15 16:00:42 UTC 2012


commit 46974509ee7ac86f6ff083a976c9d99f61c5a86c
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Aug 15 17:54:59 2012 +0200

    Do not build-require perl(Tk) on RHEL >= 7

 perl-Pod-Perldoc.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/perl-Pod-Perldoc.spec b/perl-Pod-Perldoc.spec
index f672e28..b09508e 100644
--- a/perl-Pod-Perldoc.spec
+++ b/perl-Pod-Perldoc.spec
@@ -2,7 +2,7 @@
 Name:           perl-Pod-Perldoc
 # let's overwrite the module from perl.srpm
 Version:        3.17.00
-Release:        240%{?dist}
+Release:        241%{?dist}
 Summary:        Look up Perl documentation in Pod format
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -37,8 +37,8 @@ BuildRequires:  perl(base)
 BuildRequires:  perl(Test::More)
 # Optional tests:
 %if !%{defined perl_bootstrap}
+%if !( 0%{?rhel} >= 7 )
 BuildRequires:  perl(Tk)
-%if 0%{?fedora}  || 0%{?rhel} < 7
 BuildRequires:  perl(Tk::Pod)
 %endif
 %endif
@@ -90,6 +90,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Wed Aug 15 2012 Petr Pisar <ppisar at redhat.com> - 3.17.00-241
+- Do not build-require perl(Tk) on RHEL >= 7
+
 * Mon Aug 13 2012 Marcela Mašláňová <mmaslano at redhat.com> - 3.17.00-240
 - Bump release to override sub-package from perl.spec
 


More information about the scm-commits mailing list