RPM build failed when the self-signed cert was used because the macro did not
expand correctly.
%define _default_patch_fuzz 2
%define mesa_version 7.7.1
+%{!?_self_signed: %define _self_signed 1}
Name: tigervnc
Version: @VERSION@
# 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} \
+%{!?_self_signed: %define _self_signed 1}
+
Name: tigervnc
Version: @VERSION@
Release: 18%{?snap:.%{snap}}%{?dist}
# 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} \
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define debug_package %{nil}
+%{!?_self_signed: %define _self_signed 1}
Name: tigervnc
# Build java client
pushd java
cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
-%if 0%{!?_self_signed:1}
+%if !%{_self_signed}
-DJAVA_KEYSTORE=%{_keystore} \
-DJAVA_KEYSTORE_TYPE=%{_keystore_type} \
-DJAVA_KEY_ALIAS=%{_key_alias} \