tizen: Support Tizen:4:Unified
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Tue, 23 May 2017 15:05:53 +0000 (17:05 +0200)
committerPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 7 Jun 2017 11:50:43 +0000 (13:50 +0200)
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>
tools/tizen/iotivity.spec

index 2ccdcc7c1d02f70e26cbc2a5a36f18d33b70e680..d0897e631b73bc34862740d008e9236bd9e77394 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}