From cb97bbcb9f5393438a29b844408311e4ace1a4a5 Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Mon, 4 Nov 2013 09:05:55 +0100 Subject: [PATCH] Conditionaly build bind for developers Signed-off-by: Tomas Hozza --- bind.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bind.spec b/bind.spec index 90ddc67..487b664 100644 --- a/bind.spec +++ b/bind.spec @@ -19,6 +19,7 @@ %{?!PKCS11: %global PKCS11 1} %endif %{?!DEVEL: %global DEVEL 1} +%{?!developer: %global developer 0} %global bind_dir /var/named %global chroot_prefix %{bind_dir}/chroot # @@ -370,6 +371,9 @@ libtoolize -c -f; aclocal -I libtool.m4 --force; autoconf -f %endif --enable-fixed-rrset \ --with-docbook-xsl=%{_datadir}/sgml/docbook/xsl-stylesheets \ +%if %{developer} + --enable-developer \ +%endif ; make %{?_smp_mflags}