Make spec work also on CentOS 8
Move some conditional requirements to be enabled just on Fedora.
This commit is contained in:
parent
304cfaa8e0
commit
5e13eb8e75
@ -17,7 +17,6 @@
|
||||
%bcond_without DEVEL
|
||||
%bcond_without LMDB
|
||||
%bcond_without JSON
|
||||
%bcond_without DNSTAP
|
||||
%bcond_with BDB
|
||||
# skip DLZ for now
|
||||
%bcond_without DLZ
|
||||
@ -25,8 +24,10 @@
|
||||
%bcond_without GEOIP2
|
||||
%if 0%{?fedora} >= 28
|
||||
%bcond_without UNITTEST
|
||||
%bcond_without DNSTAP
|
||||
%else
|
||||
%bcond_with UNITTEST
|
||||
%bcond_with DNSTAP
|
||||
%endif
|
||||
%bcond_with TSAN
|
||||
|
||||
@ -416,7 +417,7 @@ BuildArch: noarch
|
||||
This package provides a module which allows commands to be sent to rndc directly from Python programs.
|
||||
|
||||
%prep
|
||||
%if 0%{?fedora}
|
||||
%if 0%{?gpgverify:1}
|
||||
# RHEL does not yet support this verification
|
||||
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE2}' --data='%{SOURCE0}'
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user