summaryrefslogtreecommitdiffstats
path: root/contrib/packages/rpm/el6/SPECS/tigervnc.spec
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/packages/rpm/el6/SPECS/tigervnc.spec')
-rw-r--r--contrib/packages/rpm/el6/SPECS/tigervnc.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/packages/rpm/el6/SPECS/tigervnc.spec b/contrib/packages/rpm/el6/SPECS/tigervnc.spec
index da8ce73f..36679799 100644
--- a/contrib/packages/rpm/el6/SPECS/tigervnc.spec
+++ b/contrib/packages/rpm/el6/SPECS/tigervnc.spec
@@ -1,3 +1,5 @@
+%{!?_self_signed: %define _self_signed 1}
+
Name: tigervnc
Version: @VERSION@
Release: 18%{?snap:.%{snap}}%{?dist}
@@ -217,7 +219,7 @@ popd
# Build Java applet
pushd java
%{cmake28} \
-%if 0%{!?self_signed:1}
+%if !%{_self_signed}
-DJAVA_KEYSTORE=%{_keystore} \
-DJAVA_KEYSTORE_TYPE=%{_keystore_type} \
-DJAVA_KEY_ALIAS=%{_key_alias} \