diff --git a/bind.spec b/bind.spec index b557e44..14b76ff 100644 --- a/bind.spec +++ b/bind.spec @@ -17,6 +17,7 @@ %bcond_without PKCS11 %bcond_without DEVEL %bcond_with LMDB +%bcond_with JSON %bcond_with DLZ %bcond_without EXPORT_LIBS %if 0%{?fedora} >= 17 @@ -52,7 +53,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: MPLv2.0 Version: 9.11.5 -Release: 1%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist} +Release: 2%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist} Epoch: 32 Url: http://www.isc.org/products/BIND/ # @@ -183,6 +184,9 @@ BuildRequires: krb5-devel %if %{with LMDB} BuildRequires: lmdb-devel %endif +%if %{with JSON} +BuildRequires: json-c-devel +%endif # Needed to regenerate dig.1 manpage BuildRequires: docbook-style-xsl, libxslt @@ -321,6 +325,9 @@ Requires: krb5-devel%{?_isa} %if %{with LMDB} Requires: lmdb-devel %endif +%if %{with JSON} +Requires: json-c-devel%{?_isa} +%endif %description lite-devel The bind-lite-devel package contains lite version of the header @@ -595,6 +602,9 @@ export LIBDIR_SUFFIX %else --with-lmdb=no \ %endif +%if %{with JSON} + --with-libjson \ +%endif %if %{with UNITTEST} --with-atf=${ATF_PATH} \ %endif @@ -1446,6 +1456,9 @@ rm -rf ${RPM_BUILD_ROOT} %changelog +* Thu Oct 25 2018 Petr Menšík - 32:9.11.5-2 +- Add optional support for JSON statistics + * Wed Oct 24 2018 Petr Menšík - 32:9.11.5-1 - Update to 9.11.5