Build on EPEL without signature check
%gpgverify is defined on RHEL 8 in incompatible way to Fedora. Use it only on Fedora, leave to manual signatures for other distributions.
This commit is contained in:
parent
ac21a84ee9
commit
b29f943a4c
@ -66,7 +66,9 @@ BuildRequires: gcc, make
|
||||
BuildRequires: flex, openssl-devel
|
||||
BuildRequires: libevent-devel expat-devel
|
||||
BuildRequires: pkgconfig
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: gnupg2
|
||||
%endif
|
||||
%if 0%{with_python2}
|
||||
BuildRequires: python2-devel swig
|
||||
%endif
|
||||
@ -162,7 +164,9 @@ Python 3 modules and extensions for unbound
|
||||
|
||||
|
||||
%prep
|
||||
%{?gpgverify:%gpgverify -k 19 -s 18 -d 0}
|
||||
%if 0%{?fedora}
|
||||
%gpgverify -k 19 -s 18 -d 0
|
||||
%endif
|
||||
%global pkgname %{name}-%{version}%{?extra_version}
|
||||
|
||||
%if 0%{with_python2} && 0%{with_python3}
|
||||
|
Loading…
Reference in New Issue
Block a user