tizen: Ship renamed libuuid into RPM for SDK
This way produced RPM can be installed on target or imported in SDK.
libuuid.so.1 is pulled by pkgconfig from com-oic-ri.spec
then it will be installed correctly if using "rpm -i *.rpm",
Overiding system libs in packaging, is not encouraged:
Observed issue on Tizen:2.4:Mobile (TM1) :
sdb shell su -c "rpm -i /opt/usr/media/Others/GBS-ROOT-RI-OIC/*.rpm"
file /usr/lib/libuuid.so.1 from install of com-oic-ri-1.2.0-0.armv7l \
conflicts with file from package libuuid-2.20.2-4.139.slp.armv7l
But if we want to unpack RPM contents to be used along Tizen-sdk,
as app, then uuid is also needed
(because SDK is missing it from its sysroot).
So application need to be linked with -luuid1 (same just renamed),
to avoid collision.
For more details about building IoTivity for Tizen along SDK,
please check:
https://wiki.iotivity.org/tizen
Change-Id: Iabed0221618d0d602f440e3527e1824177395ee1
Bug: https://jira.iotivity.org/browse/IOT-1343
Origin: https://gerrit.iotivity.org/gerrit/#/c/12471
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/12471
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Abhishek Sharma <ce.abhishek@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>