From fac5ed036c0e601da3d1f40c1cfa78f401220cf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Wed, 31 Jul 2019 16:46:11 +0200 Subject: [PATCH] Disable building of export-libs DHCP no longer needs export libs, stop building them. --- bind.spec | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/bind.spec b/bind.spec index c41b426..6db85bf 100644 --- a/bind.spec +++ b/bind.spec @@ -19,7 +19,7 @@ %bcond_without JSON %bcond_without DNSTAP %bcond_without DLZ -%bcond_without EXPORT_LIBS +%bcond_with EXPORT_LIBS # Legacy GeoIP support %bcond_with GEOIP # New MaxMind GeoLite support @@ -820,14 +820,16 @@ sed -e "/^\s*include(/ d" -e 's/^-- use //' \ fi; popd - pushd export-libs - make unit - e=$? - if [ "$e" -ne 0 ]; then - echo "ERROR: this build of BIND export-libs failed 'make unit'. Aborting." - exit $e; - fi; - popd + %if %{with EXPORT_LIBS} + pushd export-libs + make unit + e=$? + if [ "$e" -ne 0 ]; then + echo "ERROR: this build of BIND export-libs failed 'make unit'. Aborting." + exit $e; + fi; + popd + %endif %endif @@ -1540,6 +1542,7 @@ fi; * Wed Jul 24 2019 Petr Menšík - 32:9.11.9-1 - Update to 9.11.9 - Add GeoLite2 support +- Disable export-libs * Wed Jul 24 2019 Petr Menšík - 32:9.11.8-2 - Use monotonic time in export library (#1732883)