summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Hozza <thozza@redhat.com>2016-01-06 14:42:27 +0100
committerTomas Hozza <thozza@redhat.com>2016-01-06 14:42:27 +0100
commitc009763d23a18bcefa6bc1822d2e5b05fb713bb5 (patch)
treec789e6383ec7b8f5f22f81f8091383bf9b6f7ace
parentc94cea9133740d9c386dabbeaf54af08b4347d21 (diff)
downloadbind-c009763d23a18bcefa6bc1822d2e5b05fb713bb5.tar.gz
bind-c009763d23a18bcefa6bc1822d2e5b05fb713bb5.tar.xz
bind-c009763d23a18bcefa6bc1822d2e5b05fb713bb5.zip
Added some comments and notes to operations and definitions in SPEC
Signed-off-by: Tomas Hozza <thozza@redhat.com>
-rw-r--r--bind.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/bind.spec b/bind.spec
index 0b80659..5fc1b33 100644
--- a/bind.spec
+++ b/bind.spec
@@ -11,6 +11,8 @@
%{?!bind_uid: %global bind_uid 25}
%{?!bind_gid: %global bind_gid 25}
%{?!GSSTSIG: %global GSSTSIG 1}
+# it is not possible to build the package without PKCS11 sub-package
+# due to extensive changes to Makefiles
%{?!PKCS11: %global PKCS11 1}
%{?!DEVEL: %global DEVEL 1}
%{?!developer: %global developer 0}
@@ -594,6 +596,7 @@ mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/rwtab.d
install -m 644 %{SOURCE43} ${RPM_BUILD_ROOT}%{_sysconfdir}/rwtab.d/named
# Remove PKCS#11 related header files if disabled
+# TODO: this may not make sense - should be revisited in the future
%if ! %{PKCS11}
rm -rf ${RPM_BUILD_ROOT}%{_includedir}/bind9/{pkcs11,pk11}
%endif