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