diff --git a/perl-Sub-Install.spec b/perl-Sub-Install.spec index be0d2e7..a4a3157 100644 --- a/perl-Sub-Install.spec +++ b/perl-Sub-Install.spec @@ -1,3 +1,6 @@ +# Run optional test +%bcond_without perl_Sub_Install_enables_optional_test + Name: perl-Sub-Install Version: 0.928 Release: 13%{?dist} @@ -20,7 +23,8 @@ BuildRequires: perl(Carp) BuildRequires: perl(Scalar::Util) # ================= Test Suite ============================== BuildRequires: perl(Test::More) >= 0.88 -%if !%{defined perl_bootstrap} +%if %{with perl_Sub_Install_enables_optional_test} && !%{defined perl_bootstrap} +# ================= Optional Tests ========================== # Test::Output -> Sub::Exporter -> Sub::Install BuildRequires: perl(Test::Output) %endif