summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Hozza <thozza@redhat.com>2013-11-04 09:05:55 +0100
committerTomas Hozza <thozza@redhat.com>2013-11-04 09:05:55 +0100
commitcb97bbcb9f5393438a29b844408311e4ace1a4a5 (patch)
tree22d124d01117f4f338674fc923c53c3d04a16619
parentab389647c8e37fca2b943b12dc2823d268ee6bd1 (diff)
downloadbind-cb97bbcb9f5393438a29b844408311e4ace1a4a5.tar.gz
bind-cb97bbcb9f5393438a29b844408311e4ace1a4a5.tar.xz
bind-cb97bbcb9f5393438a29b844408311e4ace1a4a5.zip
Conditionaly build bind for developers
Signed-off-by: Tomas Hozza <thozza@redhat.com>
-rw-r--r--bind.spec4
1 files changed, 4 insertions, 0 deletions
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}