The previous macro incurred a few hundreads (if not thousands) of:
...
[ 18s] Warning: spec file parser line 109: macro too deeply nested
[ 18s] Warning: spec file parser line 109: macro too deeply nested
[ 18s] Warning: spec file parser line 109: macro too deeply nested
[ 18s] Warning: spec file parser line 109: macro too deeply nested
[ 18s] Warning: spec file parser line 109: macro too deeply nested
[ 18s] Warning: spec file parser line 109: macro too deeply nested
...
Change-Id: If91c8ef4c3259a2aed7e907b32a9f705b859114f
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
BuildRequires: xkb-tizen-data
BuildRequires: pkgconfig(xkbcommon)
-%global TZ_SYS_RO_SHARE %{?TZ_SYS_RO_SHARE:%TZ_SYS_RO_SHARE}%{!?TZ_SYS_RO_SHARE:/usr/share}
-%global TZ_SYS_VAR %{?TZ_SYS_VAR:%TZ_SYS_VAR}%{!?TZ_SYS_VAR:/opt/var}
+%{!?TZ_SYS_RO_SHARE: %global TZ_SYS_RO_SHARE /usr/share}
+%{!?TZ_SYS_VAR: %global TZ_SYS_VAR /opt/var}
%global KEYMAP_FILE_PATH "%{TZ_SYS_RO_SHARE}/X11/xkb/tizen_key_layout.txt"
%description