diff --git a/bind.spec b/bind.spec index 0d869f1..ed80dee 100644 --- a/bind.spec +++ b/bind.spec @@ -112,7 +112,7 @@ BuildRequires: libidn-devel, libxml2-devel, GeoIP-devel BuildRequires: systemd # needed for %%{__python3} macro BuildRequires: python3-devel -BuildRequires: python3-ply +BuildRequires: python3-ply %if %{SDB} BuildRequires: openldap-devel, postgresql-devel, sqlite-devel, mariadb-devel BuildRequires: libdb-devel @@ -346,11 +346,11 @@ Dynamic Loadable Zones module for BIND server. %package -n python3-bind -Summary: A module allowing rndc commands to be sent from Python programs -Group: Applications/System -Requires: bind-license = %{epoch}:%{version}-%{release} -Requires: python3 python3-ply %{py3_dist ply} -BuildArch: noarch +Summary: A module allowing rndc commands to be sent from Python programs +Group: Applications/System +Requires: bind-license = %{epoch}:%{version}-%{release} +Requires: python3 python3-ply %{py3_dist ply} +BuildArch: noarch %{?python_provide:%python_provide python3-bind} %{?python_provide:%python_provide python3-isc}