diff --git a/bind.spec b/bind.spec index e7bc694..ee7f5ff 100644 --- a/bind.spec +++ b/bind.spec @@ -152,7 +152,9 @@ BuildRequires: selinux-policy BuildRequires: python3-devel BuildRequires: python3-ply BuildRequires: findutils sed +%if 0%{?fedora} BuildRequires: gnupg2 +%endif BuildRequires: libuv-devel %if %{with DLZ} BuildRequires: openldap-devel, libpq-devel, sqlite-devel, mariadb-connector-c-devel @@ -414,7 +416,10 @@ BuildArch: noarch This package provides a module which allows commands to be sent to rndc directly from Python programs. %prep +%if 0%{?fedora} +# RHEL does not yet support this verification %{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE2}' --data='%{SOURCE0}' +%endif %setup -q -n %{name}-%{BINDVERSION} # Common patches