summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-Jin Park <sj76.park@samsung.com>2016-04-06 18:51:08 +0900
committerSung-Jin Park <sj76.park@samsung.com>2016-04-06 18:55:31 +0900
commitcd84745eee61566cf798ec56fbebe2cc8f41a1e5 (patch)
treeb42529f77d90251af2c136780f00809ed872fd09
parentf7b6c06d4c43a1d4429a36d0c4d925852a43d399 (diff)
downloadxkeyboard-config-cd84745eee61566cf798ec56fbebe2cc8f41a1e5.tar.gz
xkeyboard-config-cd84745eee61566cf798ec56fbebe2cc8f41a1e5.tar.bz2
xkeyboard-config-cd84745eee61566cf798ec56fbebe2cc8f41a1e5.zip
Uncomment on exporting RULE_FILE_PATH and add exception handling for aarch64 and x86_64submit/tizen/20160406.100133submit/tizen/20160406.095839
Change-Id: I49e6cf4679549e0cb44cd362e36a337a475e08c2
-rw-r--r--packaging/xkeyboard-config.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/xkeyboard-config.spec b/packaging/xkeyboard-config.spec
index 56c13840..f7e53889 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/