summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJengHyun Kang <jhyuni.kang@samsung.com>2016-08-30 19:02:04 +0900
committerJengHyun Kang <jhyuni.kang@samsung.com>2016-08-30 19:04:10 +0900
commit1bccb450e7a04c28e6b67a63d2bc41d3d2747bcf (patch)
treed48692586e0e4c8fdea610c893abb8c3de9b7292 /packaging
parent92757f28fc9cf7fb90bdfc290b1b97e173c30a72 (diff)
downloadxkeyboard-config-tizen_3.0.m2.tar.gz
xkeyboard-config-tizen_3.0.m2.tar.bz2
xkeyboard-config-tizen_3.0.m2.zip
Change-Id: I9f4d8ecb7276513fdcd7f8c7d6c1dd3eed8b7e44
Diffstat (limited to 'packaging')
-rw-r--r--packaging/xkeyboard-config.spec10
1 files changed, 4 insertions, 6 deletions
diff --git a/packaging/xkeyboard-config.spec b/packaging/xkeyboard-config.spec
index 0a7e98e0..2f135147 100644
--- a/packaging/xkeyboard-config.spec
+++ b/packaging/xkeyboard-config.spec
@@ -42,7 +42,6 @@ make keyboards more accessible to people with physical impairments.
%prep
%setup -q
cp %{SOURCE1001} .
-export TIZEN_PROFILE="%{?profile}"
%if %{with x}
export TIZEN_WINDOW_SYSTEM="x11"
@@ -60,8 +59,7 @@ export KEYMAP_FILE_PATH="%{KEYMAP_FILE_PATH}"
--with-xkb-base=%{TZ_SYS_RO_SHARE}/X11/xkb \
--enable-compat_rules \
--disable-runtime-deps \
- --disable-xkbcomp-symlink \
- --with-tizen-profile="%{?profile}"
+ --disable-xkbcomp-symlink
rm -f */*.dir
%__make
@@ -75,10 +73,10 @@ ln -snf %{TZ_SYS_VAR}/lib/xkb/compiled/ %{buildroot}%{_datadir}/X11/xkb/compiled
%find_lang %{name}
%fdupes -s %{buildroot}%{_datadir}/X11/xkb
-cp -af %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/evdev %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/tizen_"%{?profile}"
+cp -af %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/evdev %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/tizen
mv -f %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/evdev %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/evdev.org
-sed -i 's/evdev/tizen_%{?profile}/g' %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/tizen_"%{?profile}"
-ln -sf tizen_"%{?profile}" %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/evdev
+sed -i 's/evdev/tizen/g' %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/tizen
+ln -sf tizen %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/rules/evdev
export LOCAL_KEYMAP_PATH=%{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb
export RULE_FILE_PATH=%{TZ_SYS_RO_SHARE}/X11/xkb/xkb.rule
export KEYMAP_FILE_PATH="%{KEYMAP_FILE_PATH}"