tizen: relocate all liboc*.so to resource subpackage 75/15775/6
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Tue, 6 Dec 2016 14:40:54 +0000 (15:40 +0100)
committerPhil Coval <philippe.coval@osg.samsung.com>
Mon, 19 Dec 2016 23:24:44 +0000 (23:24 +0000)
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
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15195
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15775
Reviewed-by: Jooseok Park <jooseok.park@samsung.com>
tools/tizen/iotivity.spec

index 01541e9..d8260d6 100644 (file)
@@ -293,6 +293,11 @@ rm -rfv out %{buildroot}/out %{buildroot}/${HOME} ||:
 %{_libdir}/liboctbstack.so
 %{_libdir}/libconnectivity_abstraction.so
 %{_libdir}/libresource_directory.so
+%if 0%{?SECURED} == 1
+%{_libdir}/libocpmapi.so
+%{_libdir}/libocprovision.so
+%{_libdir}/oic_svr_db_server.dat
+%endif
 
 %files service
 %manifest %{name}.manifest
@@ -311,11 +316,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