As this trick is a workaround for current version of Tizen SDK,
avoid to break on failure to ship copied lib.
Change-Id: Idad5dd5ab3e24a569bffe22b1f83badb1906978f
Bug: https://jira.iotivity.org/browse/IOT-1343
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13827
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
(cherry picked from commit
6cc3ae595f9e77c210323116656649ab2af71056)
Reviewed-on: https://gerrit.iotivity.org/gerrit/13937
cp -f %{ROOTDIR}/extlibs/libcoap/libcoap.a %{buildroot}/%{_libdir}
# Renamed to avoid colision with system package
# I suppose it was added to be used along Tizen SDK which does not ship it
-cp /usr/lib/libuuid.so.1 %{buildroot}%{_libdir}/libuuid1.so
+cp -av /usr/lib*/libuuid.so.1 %{buildroot}%{_libdir}/libuuid1.so ||:
if echo %{SECURED}|grep -qi '1'; then
cp -f %{ROOTDIR}/out/tizen/*/*/extlibs/tinydtls/libtinydtls.a %{buildroot}/%{_libdir}