Make spec work also on CentOS 8

Move some conditional requirements to be enabled just on Fedora.
This commit is contained in:
Petr Menšík 2020-04-16 11:10:15 +02:00
parent 6e3b160e37
commit 96e1d963a4

View File

@ -18,7 +18,6 @@
%bcond_without DEVEL
%bcond_without LMDB
%bcond_without JSON
%bcond_without DNSTAP
%bcond_without DLZ
%bcond_with BDB
%bcond_with EXPORT_LIBS
@ -28,8 +27,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
@ -528,7 +529,9 @@ are used for building ISC DHCP.
%endif
%prep
%if 0%{?gpgverify:1}
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE2}' --data='%{SOURCE0}'
%endif
%setup -q -n %{name}-%{BINDVERSION}
# Common patches