From 96e1d963a4f3f0474202e4befbdfb839464d9da0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Thu, 16 Apr 2020 11:10:15 +0200 Subject: [PATCH] Make spec work also on CentOS 8 Move some conditional requirements to be enabled just on Fedora. --- bind.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bind.spec b/bind.spec index 5f411ed..55ed424 100644 --- a/bind.spec +++ b/bind.spec @@ -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