Remove build-time profile dependencies
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 29 Aug 2016 07:09:51 +0000 (16:09 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Fri, 20 Oct 2017 07:39:37 +0000 (16:39 +0900)
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 <myungjoo.ham@samsung.com>
make_tizen_keymap.sh
packaging/libxkbcommon.spec

index 1acb2fef72dbeb321bc81ab9bd9ee12f4bc9f1fc..ef9a2dbe947610812a35364aaa160cb6c1573dd7 100755 (executable)
@@ -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
 
index accc203f6b9225d1cd6ea66f089be0dbd244ee8d..24edb6f975d111b8898fa5c234f6669899be2130 100644 (file)
@@ -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