tizen: Support Tizen:4:Unified
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Tue, 23 May 2017 15:05:53 +0000 (17:05 +0200)
committerPhil Coval <philippe.coval@osg.samsung.com>
Thu, 1 Jun 2017 13:31:14 +0000 (13:31 +0000)
Tizen:3 Profiles are not more used into Tizen:4:Unified,
so generic BT package is used.

Change-Id: Ie2a8fc01f2649b7ab389081c52f1d6eec8801e87
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20327
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Jooseok Park <jooseok.park@samsung.com>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
tools/tizen/iotivity.spec

index 2ccdcc7..d0897e6 100755 (executable)
@@ -108,8 +108,10 @@ BuildRequires:  pkgconfig(ttrace)
 %endif
 BuildRequires:  pkgconfig(capi-network-connection)
 BuildRequires:  pkgconfig(capi-network-bluetooth) >= 0.1.52
-%if 3 <= 0%{?tizen_version_major}
+%if 0%{?profile:1} && 3 <= 0%{?tizen_version_major}
 BuildRequires:  bluetooth-tools-profile_%{profile}
+%else
+BuildRequires:  bluetooth-tools
 %endif
 %else
 %if 0%{?fedora:1}