[UWE] Notify internal API compatibility when installing rpm 98/238898/8
authorYoungsoo Choi <kenshin.choi@samsung.com>
Wed, 15 Jul 2020 08:22:52 +0000 (01:22 -0700)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Thu, 13 Aug 2020 08:34:59 +0000 (01:34 -0700)
commit26ac981bffc1261f9d5e7a298de73c3cd45ab0d7
tree2956830869336151279bb93da38a6b9b754b6f53
parent1d69bfb0915c3e30b240e7ec68f65ad44f3db0db
[UWE] Notify internal API compatibility when installing rpm

Previously, the second and third versions haven't been used.
So, this removes the unused versions except for the wrtjs version
and newly adds {TPK_VERSION} and {INTERNAL_API_REVISION} like below:

{TPK_VERSION}.{INTERNAL_API_REVISION}.{WRTJS_VERSION}

The {TPK_VERSION} needs for deploying tpk file via app server.
The {INTERNAL_API_REVISION} needs to check API compatibility
between chromium-efl and wrtjs.

In addition, this notifies internal API version compatibility result
using the {INTERNAL_API_REVISION} when installing rpm file.
The internal API compatibility can be guaranteed only if the
{INTERNAL_API_REVISION} is same with chromium-efl.

'\033[32m' means green, '\033[31m' means red color, and '\033[m' means
end of the colors in the %pre script.

Change-Id: Ib00f4bf3523e9e022c388b838e8d96cc7089d599
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
packaging/wrtjs.spec