From cb97bbcb9f5393438a29b844408311e4ace1a4a5 Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Nov 04 2013 08:05:55 +0000 Subject: Conditionaly build bind for developers Signed-off-by: Tomas Hozza --- 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}