diff --git a/bind.spec b/bind.spec index 8b27693..4563938 100644 --- a/bind.spec +++ b/bind.spec @@ -39,7 +39,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: MPLv2.0 Version: 9.11.3 -Release: 1%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist} +Release: 2%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist} Epoch: 32 Url: http://www.isc.org/products/BIND/ # @@ -368,8 +368,8 @@ This package provides a module which allows commands to be sent to rndc directly %package export-libs Summary: ISC libs for DHCP application %if 0%{?fedora} >= 1 -Obsoletes: bind99-libs < 9.9.11-3 -Provides: bind99-libs = 9.9.11-3 +Obsoletes: bind99-libs < 9.9.11-4 +Provides: bind99-libs = 9.9.11-4 # This subpackage will not use shared license, but distribute its own %endif @@ -381,9 +381,14 @@ version of BIND libraries, that are used for building ISC DHCP. %package export-devel Summary: Header files and libraries needed for BIND export libraries Requires: %{name}-export-libs%{?_isa} = %{epoch}:%{version}-%{release} +Requires: openssl-devel +Requires: libcap-devel + %if 0%{?fedora} >= 1 -Obsoletes: bind99-libs-devel < 9.9.11-3 -Provides: bind99-libs-devel = 9.9.11-3 +Obsoletes: bind99-devel < 9.9.11-4 +# To prevent linking against wrong set of libraries, +# do not coexist with bind99-devel +Conflicts: bind99-devel %endif %description export-devel @@ -1346,6 +1351,11 @@ rm -rf ${RPM_BUILD_ROOT} %changelog +* Thu Feb 22 2018 Petr Menšík - 32:9.11.3-2.b1 +- Require openssl-devel and libcap-devel from bind-export-devel +- Conflict with bind99-devel +- Change spec globals to rpmbuild --with feature + * Thu Feb 15 2018 Petr Menšík - 32:9.11.3-1.b1 - Rebase to 9.11.3b1