From 921341bdb110113afbfffb4c4de98f2f4eb7ba1c Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Thu, 22 Sep 2016 10:45:45 +0200 Subject: [PATCH] tizen: Add iotivity namespace for headers Currently symlink to parent folder, this way it's aligned to yocto recipe. In longer term it would be nice to rely on scons install rules. Change-Id: Ie8067c13302ccf92936d599bb4f6b3740d3cf009 Bug: https://jira.iotivity.org/browse/IOT-524 Signed-off-by: Philippe Coval Reviewed-on: https://gerrit.iotivity.org/gerrit/12149 Tested-by: jenkins-iotivity Reviewed-by: Dave Thaler Reviewed-by: Ziran Sun (cherry picked from commit 5a494b98d65b2950a9331ec77b03ce429ba64cde) Reviewed-on: https://gerrit.iotivity.org/gerrit/12485 --- tools/tizen/iotivity.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/tizen/iotivity.spec b/tools/tizen/iotivity.spec index 5064ecb..5ba45dc 100644 --- a/tools/tizen/iotivity.spec +++ b/tools/tizen/iotivity.spec @@ -193,6 +193,11 @@ cp service/things-manager/sdk/inc/*.h %{buildroot}%{_includedir} cp service/easy-setup/inc/*.h %{buildroot}%{_includedir} cp service/easy-setup/enrollee/inc/*.h %{buildroot}%{_includedir} +install -d %{buildroot}%{_includedir}/iotivity +ln -fs ../resource %{buildroot}%{_includedir}/iotivity/ +ln -fs ../service %{buildroot}%{_includedir}/iotivity/ +ln -fs ../c_common %{buildroot}%{_includedir}/iotivity/ + %post -p /sbin/ldconfig -- 2.7.4