- Conflict with bind99-devel

- Require openssl-devel and libcap-devel from bind-export-devel
This commit is contained in:
Petr Menšík 2018-02-16 20:03:49 +01:00
parent 9d24906d8d
commit 40e8ab1f0c

View File

@ -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 <pemensik@redhat.com> - 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 <pemensik@redhat.com> - 32:9.11.3-1.b1
- Rebase to 9.11.3b1