diff --git a/bind.spec b/bind.spec index 1a2da0f..68a76af 100644 --- a/bind.spec +++ b/bind.spec @@ -227,6 +227,7 @@ Contains license of the BIND DNS suite. Summary: Utilities for querying DNS name servers Group: Applications/System Requires: bind-libs%{?_isa} = %{epoch}:%{version}-%{release} +Requires: python3-bind = %{epoch}:%{version}-%{release} %description utils Bind-utils contains a collection of utilities for querying DNS (Domain @@ -289,6 +290,16 @@ chroot(2) jail for the named-sdb(8) program from the BIND package. Based on the code from Jan "Yenya" Kasprzak %endif +%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 +BuildArch: noarch +%{?python_provide:%python_provide python3-bind} + +%description -n python3-bind +This package provides a module which allows commands to be sent to rndc directly from Python programs. %prep %setup -q -n %{name}-%{VERSION} @@ -1004,11 +1015,17 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/libisc-pkcs11.so %endif +%files -n python3-bind +%defattr(-,root,root,-) +%{python3_sitelib}/*py* +%{python3_sitelib}/isc/*py +%{python3_sitelib}/isc/__pycache__/*py* %changelog * Fri Jun 16 2017 Petr Menšík - 32:9.10.5-1.P1 - Update to 9.10.5-P1 - named-rrchecker and arpaname moved to /usr/bin +- dnssec-checkds and dnssec-coverage require python3-bind * Mon Apr 24 2017 Petr Menšík - 32:9.10.4-5.P8 - Fix queries for TKEY in nsupdate, when using GSSAPI (#1236087)