Make spec work also on CentOS 8
Move some conditional requirements to be enabled just on Fedora.
This commit is contained in:
parent
6e3b160e37
commit
96e1d963a4
@ -18,7 +18,6 @@
|
|||||||
%bcond_without DEVEL
|
%bcond_without DEVEL
|
||||||
%bcond_without LMDB
|
%bcond_without LMDB
|
||||||
%bcond_without JSON
|
%bcond_without JSON
|
||||||
%bcond_without DNSTAP
|
|
||||||
%bcond_without DLZ
|
%bcond_without DLZ
|
||||||
%bcond_with BDB
|
%bcond_with BDB
|
||||||
%bcond_with EXPORT_LIBS
|
%bcond_with EXPORT_LIBS
|
||||||
@ -28,8 +27,10 @@
|
|||||||
%bcond_without GEOIP2
|
%bcond_without GEOIP2
|
||||||
%if 0%{?fedora} >= 28
|
%if 0%{?fedora} >= 28
|
||||||
%bcond_without UNITTEST
|
%bcond_without UNITTEST
|
||||||
|
%bcond_without DNSTAP
|
||||||
%else
|
%else
|
||||||
%bcond_with UNITTEST
|
%bcond_with UNITTEST
|
||||||
|
%bcond_with DNSTAP
|
||||||
%endif
|
%endif
|
||||||
%bcond_with TSAN
|
%bcond_with TSAN
|
||||||
|
|
||||||
@ -528,7 +529,9 @@ are used for building ISC DHCP.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
%if 0%{?gpgverify:1}
|
||||||
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE2}' --data='%{SOURCE0}'
|
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE2}' --data='%{SOURCE0}'
|
||||||
|
%endif
|
||||||
%setup -q -n %{name}-%{BINDVERSION}
|
%setup -q -n %{name}-%{BINDVERSION}
|
||||||
|
|
||||||
# Common patches
|
# Common patches
|
||||||
|
Loading…
Reference in New Issue
Block a user