From bf716190d0dd3b8243dee070aa37cbd0a6481a69 Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Nov 14 2014 09:45:52 +0000 Subject: All dependencies are now architecture specific - bind-utils now requires explicit version of bind-libs Signed-off-by: Tomas Hozza --- diff --git a/bind.spec b/bind.spec index cc69139..cb8d734 100644 --- a/bind.spec +++ b/bind.spec @@ -27,7 +27,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: ISC Version: 9.9.4 -Release: 15.%{?PATCHVER}%{?PREVER}%{?dist} +Release: 16.%{?PATCHVER}%{?PREVER}%{?dist} Epoch: 32 Url: http://www.isc.org/products/BIND/ Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -119,7 +119,7 @@ Requires: coreutils Requires: systemd-units Requires(post): grep, systemd Requires(pre): shadow-utils -Requires: bind-libs = %{epoch}:%{version}-%{release} +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 Obsoletes: caching-nameserver < 31:9.4.1-7.fc8 @@ -166,8 +166,8 @@ will have a label of "zone,zsk|ksk,xxx" and an id of the keytag in hex. %package sdb Summary: BIND server with database backends and DLZ support Group: System Environment/Daemons -Requires: bind Requires: systemd-units +Requires: bind%{?_isa} = %{epoch}:%{version}-%{release} %description sdb BIND (Berkeley Internet Name Domain) is an implementation of the DNS @@ -195,6 +195,7 @@ programs to work with DNS protocol. Summary: Libraries used by the BIND DNS packages Group: Applications/System Requires: bind-license = %{epoch}:%{version}-%{release} +Requires: bind-libs-lite%{?_isa} = %{epoch}:%{version}-%{release} %description libs Contains heavyweight version of BIND suite libraries used by both named DNS @@ -211,6 +212,7 @@ Contains license of the BIND DNS suite. %package utils Summary: Utilities for querying DNS name servers Group: Applications/System +Requires: bind-libs%{?_isa} = %{epoch}:%{version}-%{release} %description utils Bind-utils contains a collection of utilities for querying DNS (Domain @@ -228,7 +230,7 @@ Summary: Header files and libraries needed for BIND DNS development Group: Development/Libraries Obsoletes:bind-libbind-devel < 31:9.3.3-4.fc7 Provides: bind-libbind-devel = 31:9.3.3-4.fc7 -Requires: bind-libs = %{epoch}:%{version}-%{release} +Requires: bind-libs%{?_isa} = %{epoch}:%{version}-%{release} %description devel The bind-devel package contains full version of the header files and libraries @@ -238,7 +240,7 @@ required for development with ISC BIND 9 %package lite-devel Summary: Lite version of header files and libraries needed for BIND DNS development Group: Development/Libraries -Requires: bind-libs-lite = %{epoch}:%{version}-%{release} +Requires: bind-libs-lite%{?_isa} = %{epoch}:%{version}-%{release} %description lite-devel The bind-lite-devel package contains lite version of the header @@ -250,8 +252,8 @@ Group: System Environment/Daemons Prefix: %{chroot_prefix} Requires(post): grep Requires(preun):grep -Requires: bind = %{epoch}:%{version}-%{release} Requires: systemd-units +Requires: bind%{?_isa} = %{epoch}:%{version}-%{release} %description chroot This package contains a tree of files which can be used as a @@ -821,6 +823,10 @@ rm -rf ${RPM_BUILD_ROOT} %endif %changelog +* Fri Nov 14 2014 Tomas Hozza 32:9.9.4-16.P2 +- All dependencies are now architecture specific +- bind-utils now requires explicit version of bind-libs + * Fri Jul 18 2014 Tomas Hozza 32:9.9.4-15.P2 - Rework the chroot creation/destruction workflow (#1097671)