Use optional test dependency perl(Package::Anon) unconditionally

This commit is contained in:
Paul Howarth 2023-05-08 14:32:08 +01:00
parent bf0479edd7
commit 84ad4315a6

View File

@ -40,9 +40,7 @@ BuildRequires: perl(Test::Needs)
%if %{with perl_Package_Stash_XS_enables_optional_test}
# Optional Tests
BuildRequires: perl(CPAN::Meta) >= 2.120900
%if 0%{?fedora} > 15 || 0%{?rhel} > 6
BuildRequires: perl(Package::Anon)
%endif
BuildRequires: perl(Variable::Magic)
%endif
# Dependencies