tizen: relocate all liboc*.so to resource subpackage 71/102871/4
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Tue, 6 Dec 2016 14:40:54 +0000 (15:40 +0100)
committerPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 7 Dec 2016 07:08:55 +0000 (08:08 +0100)
iotivity.pc bring those libs so they should come along.
This was observed while porting Tizen's iotcon to iotivity-1.2.1

Change-Id: I82e7121520c1a7ed8d79e7b85089bec2b0b5012b
Origin: https://gerrit.iotivity.org/gerrit/#/c/15195/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
tools/tizen/iotivity.spec

index c0e042caf573eba2ab902a33654e3ade23b39f26..033db84f091b17582378b4dbdbc70f4eeab72f6b 100644 (file)
@@ -291,6 +291,11 @@ rm -rfv out %{buildroot}/out %{buildroot}/${HOME} ||:
 %{_libdir}/liboc_logger_core.so
 %{_libdir}/liboctbstack.so
 %{_libdir}/libconnectivity_abstraction.so
+%if 0%{?SECURED} == 1
+%{_libdir}/libocpmapi.so
+%{_libdir}/libocprovision.so
+%{_libdir}/oic_svr_db_server.dat
+%endif
 
 %files service
 %manifest %{name}.manifest
@@ -309,11 +314,6 @@ rm -rfv out %{buildroot}/out %{buildroot}/${HOME} ||:
 %if 0%{?WITH_PROXY} == 1
 %{_libdir}/libcoap_http_proxy.so
 %endif
-%if 0%{?SECURED} == 1
-%{_libdir}/libocpmapi.so
-%{_libdir}/libocprovision.so
-%{_libdir}/oic_svr_db_server.dat
-%endif
 %if "%{TARGET_OS}" == "linux"
 %{_libdir}/libnotification*.so
 %endif