From: kibak.yoon Date: Mon, 5 Dec 2016 08:57:15 +0000 (+0900) Subject: capi-sensor: fix requiered package X-Git-Tag: submit/tizen_3.0/20161205.094941^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=183e41636f18f807ec80e51d832a3abde322e86f;p=platform%2Fcore%2Fapi%2Fsensor.git capi-sensor: fix requiered package Change-Id: Ifec671d44633c9e8d260ef11a76bad17015002eb Signed-off-by: kibak.yoon --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1da2af9..9d13cf6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ INCLUDE(GNUInstallDirs) SET(DEPENDENTS "dlog sensor capi-base-common") -IF("${PROFILE}" STREQUAL "mobile" OR "${PROFILE}" STREQUAL "wearable") +IF(NOT "${PROFILE}" STREQUAL "tv") SET(DEPENDENTS "${DEPENDENTS} context-common") ENDIF() diff --git a/packaging/capi-system-sensor.spec b/packaging/capi-system-sensor.spec index f58d90b..3386ef0 100644 --- a/packaging/capi-system-sensor.spec +++ b/packaging/capi-system-sensor.spec @@ -12,7 +12,7 @@ BuildRequires: cmake BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(sensor) BuildRequires: pkgconfig(capi-base-common) -%if "%{?BUILD_PROFILE}" == "mobile" || "%{?BUILD_PROFILE}" == "wearable" +%if "%{?BUILD_PROFILE}" != "tv" BuildRequires: pkgconfig(context-common) %endif Requires(post): /sbin/ldconfig