From cd84745eee61566cf798ec56fbebe2cc8f41a1e5 Mon Sep 17 00:00:00 2001 From: Sung-Jin Park Date: Wed, 6 Apr 2016 18:51:08 +0900 Subject: [PATCH] Uncomment on exporting RULE_FILE_PATH and add exception handling for aarch64 and x86_64 Change-Id: I49e6cf4679549e0cb44cd362e36a337a475e08c2 --- packaging/xkeyboard-config.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packaging/xkeyboard-config.spec b/packaging/xkeyboard-config.spec index 56c1384..f7e5388 100644 --- a/packaging/xkeyboard-config.spec +++ b/packaging/xkeyboard-config.spec @@ -79,11 +79,14 @@ sed -i 's/evdev/tizen_%{?profile}/g' %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rul ln -sf tizen_"%{?profile}" %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/evdev export LOCAL_KEYMAP_PATH=%{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb ./remove_unused_files.sh -#export RULE_FILE_PATH=%{TZ_SYS_RO_SHARE}/X11/xkb/xkb.rule +export RULE_FILE_PATH=%{TZ_SYS_RO_SHARE}/X11/xkb/xkb.rule +%ifarch aarch64 x86_64 +%else if [ -e %{buildroot}%{_bindir}/cache ]; then %{buildroot}%{_bindir}/cache rm -f %{buildroot}%{_bindir}/cache fi +%endif mkdir -p %{buildroot}/%{TZ_SYS_VAR}/lib/xkb/ touch %{buildroot}/%{TZ_SYS_VAR}/lib/xkb/dummy.xkb cp *.xkb %{buildroot}/%{TZ_SYS_VAR}/lib/xkb/ -- 2.7.4