From b0cc398406d4161c38f27f00f87ca24f369da3a8 Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Mon, 29 Aug 2016 16:09:51 +0900 Subject: Remove build-time profile dependencies The usage of profile macro in the previous spec file has no effect on the code or binary. Remove the usage of profile macro from the spec file to allow build optimization. Change-Id: Ib75ce96679880c38af39117fb7d4d520d776f92f Signed-off-by: MyungJoo Ham --- make_tizen_keymap.sh | 4 ++-- packaging/libxkbcommon.spec | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/make_tizen_keymap.sh b/make_tizen_keymap.sh index 1acb2fe..ef9a2db 100755 --- a/make_tizen_keymap.sh +++ b/make_tizen_keymap.sh @@ -15,9 +15,9 @@ BASE_KEYSYM_DEC=`python -c "print int('$BASE_KEYSYM', 16)"` if [ -e ${KEYMAP_FILE_PATH} ] then - echo "${TIZEN_PROFILE} have a key layout file: ${KEYMAP_FILE_PATH}" + echo "We have a key layout file: ${KEYMAP_FILE_PATH}" else - echo "${TIZEN_PROFILE} doesn't have a key layout file: ${KEYMAP_FILE_PATH}" + echo "We don't have a key layout file: ${KEYMAP_FILE_PATH}" exit fi diff --git a/packaging/libxkbcommon.spec b/packaging/libxkbcommon.spec index accc203..24edb6f 100644 --- a/packaging/libxkbcommon.spec +++ b/packaging/libxkbcommon.spec @@ -39,7 +39,6 @@ in %{name}. cp %{SOURCE1001} . # Generate tizen keymap header -export TIZEN_PROFILE="%{?profile}" export TZ_SYS_RO_SHARE="%{TZ_SYS_RO_SHARE}" chmod a+x ./make_tizen_keymap.sh ./make_tizen_keymap.sh @@ -47,7 +46,7 @@ chmod a+x ./gen_tables.sh ./gen_tables.sh %build -%autogen --disable-static --disable-x11 --with-tizen-profile="%{?profile}" +%autogen --disable-static --disable-x11" %__make %{?_smp_mflags} V=1; %install -- cgit v1.2.3