Enable source verification only on Fedora builds
This commit is contained in:
parent
6b3788d026
commit
304cfaa8e0
@ -152,7 +152,9 @@ BuildRequires: selinux-policy
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-ply
|
BuildRequires: python3-ply
|
||||||
BuildRequires: findutils sed
|
BuildRequires: findutils sed
|
||||||
|
%if 0%{?fedora}
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
|
%endif
|
||||||
BuildRequires: libuv-devel
|
BuildRequires: libuv-devel
|
||||||
%if %{with DLZ}
|
%if %{with DLZ}
|
||||||
BuildRequires: openldap-devel, libpq-devel, sqlite-devel, mariadb-connector-c-devel
|
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.
|
This package provides a module which allows commands to be sent to rndc directly from Python programs.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
%if 0%{?fedora}
|
||||||
|
# RHEL does not yet support this verification
|
||||||
%{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