tizen: Depend on profile's bluetooth package if available
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Mon, 29 Aug 2016 14:59:34 +0000 (16:59 +0200)
committerAshok Babu Channa <ashok.channa@samsung.com>
Tue, 28 Mar 2017 05:22:25 +0000 (05:22 +0000)
This is needed for Tizen:Common (currently major version 3)

Change-Id: I768771e3d6eafe362e4678d3c13be3022eb79f85
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17683
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Mats Wichmann <mats@linux.com>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
tools/tizen/iotivity.spec

index c86efee..638b0d9 100755 (executable)
@@ -107,6 +107,9 @@ BuildRequires:  pkgconfig(ttrace)
 %endif
 BuildRequires:  pkgconfig(capi-network-connection)
 BuildRequires:  pkgconfig(capi-network-bluetooth) >= 0.1.52
+%if 3 <= 0%{?tizen_version_major}
+BuildRequires:  bluetooth-tools-profile_%{profile}
+%endif
 %else
 %if 0%{?fedora:1}
 BuildRequires:  sqlite-devel