summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2016-12-07 11:40:02 +0900
committerMyungJoo Ham <myungjoo.ham@samsung.com>2016-12-07 11:40:02 +0900
commit7c160e5b1789e656cb15ce8574dd95eab18e89d1 (patch)
treed8736a31f8bb4447ea6cd48b91e11f167f1ed76c
parent1bccb450e7a04c28e6b67a63d2bc41d3d2747bcf (diff)
downloadxkeyboard-config-7c160e5b1789e656cb15ce8574dd95eab18e89d1.tar.gz
xkeyboard-config-7c160e5b1789e656cb15ce8574dd95eab18e89d1.tar.bz2
xkeyboard-config-7c160e5b1789e656cb15ce8574dd95eab18e89d1.zip
Code Clean: GBS warning removed
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>
-rw-r--r--packaging/xkeyboard-config.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/xkeyboard-config.spec b/packaging/xkeyboard-config.spec
index 2f135147..f0fd8d7d 100644
--- a/packaging/xkeyboard-config.spec
+++ b/packaging/xkeyboard-config.spec
@@ -27,8 +27,8 @@ Requires(pre): /usr/bin/rm
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