From 4159d449e5a66ddef70d1fe7f1d37279d4d99bc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> Date: Wed, 5 Apr 2017 11:22:42 +0200 Subject: Guard explicit dependency on /usr/bin/gpg by perl_CPAN_enables_gnupg_test too
--- perl-CPAN.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/perl-CPAN.spec b/perl-CPAN.spec index 09a8975..d61cea2 100644 --- a/perl-CPAN.spec +++ b/perl-CPAN.spec @@ -104,9 +104,11 @@ BuildRequires: perl(Pod::Usage) BuildRequires: perl(Test::More) # Optional tests: +%if %{with perl_CPAN_enables_gnupg_test} BuildRequires: %{_bindir}/gpg # Digest::SHA1 not needed if Digest::SHA is available # Digest::SHA::PurePerl not needed if Digest::SHA is available +%endif %if !%{defined perl_bootstrap} BuildRequires: perl(Expect) %endif -- cgit v1.1 https://src.fedoraproject.org/cgit/perl-CPAN.git/commit/?h=f26&id=4159d449e5a66ddef70d1fe7f1d37279d4d99bc5 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org