From 842e567a333ccfd2b15be93f230d29414be0f581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 3 Apr 2017 09:48:22 +0200 Subject: [PATCH] Rename a _without_tk build-condition to _without_perl_Pod_Perldoc_enables_tk_test --- perl-Pod-Perldoc.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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