Correct wrong %endif on --without GEOIP2

Description for devel subpackage needs to be always defined.

Resolves: rhbz#2026823
This commit is contained in:
Petr Menšík 2021-11-26 12:14:11 +01:00
parent f8d4aed3a6
commit 0ddb138d48

View File

@ -53,7 +53,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: MPLv2.0
Version: 9.16.23
Release: 1%{?dist}
Release: 2%{?dist}
Epoch: 32
Url: https://www.isc.org/downloads/bind/
#
@ -299,12 +299,12 @@ Requires: fstrm-devel%{?_isa} protobuf-c-devel%{?_isa}
%endif
%if %{with GEOIP2}
Requires: libmaxminddb-devel%{?_isa}
%endif
%description devel
The bind-devel package contains full version of the header files and libraries
required for building bind-dyndb-ldap. Upstream no longer supports nor recommends
bind libraries for third party applications.
%endif
%package chroot
Summary: A chroot runtime environment for the ISC BIND DNS server, named(8)
@ -1122,6 +1122,9 @@ fi;
%endif
%changelog
* Fri Nov 26 2021 Petr Menšík <pemensik@redhat.com> - 32:9.16.23-2
- Correct with GEOIP2 condition (#2026823)
* Fri Nov 19 2021 Petr Menšík <pemensik@redhat.com> - 32:9.16.23-1
- Update to 9.16.23 (#2024210)