[bind/f20] Conditionaly build bind for developers
Tomas Hozza
thozza at fedoraproject.org
Mon Nov 4 08:07:23 UTC 2013
commit cb97bbcb9f5393438a29b844408311e4ace1a4a5
Author: Tomas Hozza <thozza at redhat.com>
Date: Mon Nov 4 09:05:55 2013 +0100
Conditionaly build bind for developers
Signed-off-by: Tomas Hozza <thozza at redhat.com>
bind.spec | 4 ++++
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}
More information about the scm-commits
mailing list