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

This commit is contained in:
Petr Písař 2012-08-15 17:54:59 +02:00
parent 290f343959
commit 46974509ee
1 changed files with 5 additions and 2 deletions

View File

@ -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@redhat.com> - 3.17.00-241
- Do not build-require perl(Tk) on RHEL >= 7
* Mon Aug 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 3.17.00-240
- Bump release to override sub-package from perl.spec