commit 64b673f5f0a3f5d0b62350251104819b71b91f38 Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx> Date: Wed May 30 09:59:21 2012 +0200 conditionalize optional BR tests perl-Pod-Perldoc.spec | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) --- diff --git a/perl-Pod-Perldoc.spec b/perl-Pod-Perldoc.spec index 1af363d..52fa239 100644 --- a/perl-Pod-Perldoc.spec +++ b/perl-Pod-Perldoc.spec @@ -1,7 +1,7 @@ %global cpan_version 3.17 Name: perl-Pod-Perldoc Version: %(eval echo '%{cpan_version}' | tr '_' '.') -Release: 2%{?dist} +Release: 3%{?dist} Summary: Look up Perl documentation in Pod format License: GPL+ or Artistic Group: Development/Libraries @@ -34,7 +34,9 @@ BuildRequires: perl(base) BuildRequires: perl(Test::More) # Optional tests: BuildRequires: perl(Tk) +%if 0%{?fedora} || 0%{?rhel} < 7 BuildRequires: perl(Tk::Pod) +%endif Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(Encode) Requires: perl(File::Temp) >= 0.22 @@ -81,6 +83,9 @@ make test %{_mandir}/man3/* %changelog +* Wed May 30 2012 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 3.17-3 +- conditionalize optional BR tests + * Tue May 15 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 3.17-2 - Fix perldoc synopsis (bug #821632) -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel