diff --git a/perl-Pod-Perldoc.spec b/perl-Pod-Perldoc.spec index 5451e59..e0235be 100644 --- a/perl-Pod-Perldoc.spec +++ b/perl-Pod-Perldoc.spec @@ -1,6 +1,6 @@ # Optional features -# Tk support -%bcond_without tk +# Run Tk tests +%bcond_without perl_Pod_Perldoc_enables_tk_test # Support for groff %bcond_without perl_enables_groff @@ -55,7 +55,7 @@ BuildRequires: perl(Test::More) # Optional tests: %if !%{defined perl_bootstrap} %if !( 0%{?rhel} >= 7 ) -%if %{with tk} +%if %{with perl_Pod_Perldoc_enables_tk_test} BuildRequires: perl(Tk) # Tk::FcyEntry is optional BuildRequires: perl(Tk::Pod) @@ -114,6 +114,8 @@ make test %changelog * Mon Apr 03 2017 Petr Pisar - 3.28-2 - Introduce a build-condition on groff +- Rename a _without_tk build-condition to + _without_perl_Pod_Perldoc_enables_tk_test * Thu Mar 16 2017 Petr Pisar - 3.28-1 - 3.28 bump