Guard explicit dependency on /usr/bin/gpg by perl_CPAN_enables_gnupg_test too
This commit is contained in:
parent
470e724236
commit
4159d449e5
@ -104,9 +104,11 @@ BuildRequires: perl(Pod::Usage)
|
|||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
|
|
||||||
# Optional tests:
|
# Optional tests:
|
||||||
|
%if %{with perl_CPAN_enables_gnupg_test}
|
||||||
BuildRequires: %{_bindir}/gpg
|
BuildRequires: %{_bindir}/gpg
|
||||||
# Digest::SHA1 not needed if Digest::SHA is available
|
# Digest::SHA1 not needed if Digest::SHA is available
|
||||||
# Digest::SHA::PurePerl not needed if Digest::SHA is available
|
# Digest::SHA::PurePerl not needed if Digest::SHA is available
|
||||||
|
%endif
|
||||||
%if !%{defined perl_bootstrap}
|
%if !%{defined perl_bootstrap}
|
||||||
BuildRequires: perl(Expect)
|
BuildRequires: perl(Expect)
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user