Commit 372ea4dd authored by Philippe Coval's avatar Philippe Coval Committed by Phil Coval

tizen: Only package if present

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: default avatarPhilippe Coval <>
Reviewed-on: default avatarjenkins-iotivity <>
(cherry picked from commit 6cc3ae59)
parent 174e1f09
......@@ -75,7 +75,7 @@ cp -f %{ROOTDIR}/resource/csdk/connectivity/src/ %
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/ %{buildroot}%{_libdir}/
cp -av /usr/lib*/ %{buildroot}%{_libdir}/ ||:
if echo %{SECURED}|grep -qi '1'; then
cp -f %{ROOTDIR}/out/tizen/*/*/extlibs/tinydtls/libtinydtls.a %{buildroot}/%{_libdir}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment