Fix build error due to no cbhm in common profile and so on 49/103249/1 accepted/tizen/common/20161208.135339 accepted/tizen/ivi/20161208.013227 accepted/tizen/mobile/20161208.013132 accepted/tizen/tv/20161208.013150 accepted/tizen/wearable/20161208.013206 submit/tizen/20161207.232930
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 7 Dec 2016 23:26:51 +0000 (08:26 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 7 Dec 2016 23:26:51 +0000 (08:26 +0900)
Change-Id: Ia6c9c0ea3ff4e7a02c652c394de2e50a87f9ccbb
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
packaging/ise-default.spec

index f6b9e6c..779d5af 100644 (file)
@@ -23,7 +23,11 @@ BuildRequires:  pkgconfig(libtzplatform-config)
 BuildRequires:  pkgconfig(stt)
 BuildRequires:  pkgconfig(capi-appfw-application)
 BuildRequires:  pkgconfig(capi-media-audio-io)
+# This is for old profile-based OBS project optimizations.
+# In 4.0 unified build env, this if statement is always true.
+%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
 BuildRequires:  pkgconfig(cbhm)
+%endif
 Requires:       %{name}-compat = %{version}-%{release}
 # This is for old profile-based OBS project optimizations.
 # In 4.0 unified build env, this if statement is always true.