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)