summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Menšík <pemensik@redhat.com>2017-06-29 20:21:41 +0200
committerPetr Menšík <pemensik@redhat.com>2017-06-30 13:58:39 +0200
commitb0ccd9af1969c62ba91ecb157b3e1a780036fb61 (patch)
tree8421557db08d84128bdf716992bcd459b6e82cfa
parent3c983e38ece3b0e5f1b2cbff49ec990fe974b497 (diff)
downloadbind-b0ccd9af1969c62ba91ecb157b3e1a780036fb61.tar.gz
bind-b0ccd9af1969c62ba91ecb157b3e1a780036fb61.tar.xz
bind-b0ccd9af1969c62ba91ecb157b3e1a780036fb61.zip
Make utils depend on python module
-rw-r--r--bind.spec15
1 files changed, 10 insertions, 5 deletions
diff --git a/bind.spec b/bind.spec
index 4215ba6..784c908 100644
--- a/bind.spec
+++ b/bind.spec
@@ -25,7 +25,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: MPLv2.0
Version: 9.11.1
-Release: 1%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
+Release: 2%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
Epoch: 32
Url: http://www.isc.org/products/BIND/
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -98,8 +98,6 @@ Requires(preun): systemd
Requires(postun): systemd
Requires: coreutils
Requires(pre): shadow-utils
-Requires: python3-ply
-BuildRequires: python3-ply
Requires: bind-libs%{?_isa} = %{epoch}:%{version}-%{release}
Obsoletes: bind-config < 30:9.3.2-34.fc6
Provides: bind-config = 30:9.3.2-34.fc6
@@ -112,12 +110,13 @@ BuildRequires: libidn-devel, libxml2-devel, GeoIP-devel
BuildRequires: systemd
# needed for %%{__python3} macro
BuildRequires: python3-devel
+BuildRequires: python3-ply
%if %{SDB}
BuildRequires: openldap-devel, postgresql-devel, sqlite-devel, mysql-devel
BuildRequires: libdb-devel
%endif
%if %{test}
-BuildRequires: net-tools
+BuildRequires: net-tools perl(Net::DNS) perl(Net::DNS::Nameserver)
%endif
%if %{GSSTSIG}
BuildRequires: krb5-devel
@@ -229,6 +228,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
@@ -295,8 +295,10 @@ Based on the code from Jan "Yenya" Kasprzak <kas@fi.muni.cz>
Summary: A module allowing rndc commands to be sent from Python programs
Group: Applications/System
Requires: bind-license = %{epoch}:%{version}-%{release}
-Requires: python3
+Requires: python3 python3-ply %{py3_dist ply}
+BuildArch: noarch
%{?python_provide:%python_provide python3-bind}
+%{?python_provide:%python_provide python3-isc}
%description -n python3-bind
This package provides a module which allows commands to be sent to rndc directly from Python programs.
@@ -1022,6 +1024,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{python3_sitelib}/isc/__pycache__/*py*
%changelog
+* Thu Jun 29 2017 Petr Menšík <pemensik@redhat.com> - 32:9.11.1-2.P1
+- dnssec-checkds and dnssec-coverage requires python module (#1466183)
+
* Thu Jun 15 2017 Petr Menšík <pemensik@redhat.com> - 32:9.11.1-1.P1
- Update to 9.11.1-P1