From 0223c649031578302d20d137a5bbde1da0f66c41 Mon Sep 17 00:00:00 2001 From: Kyungwook Tak Date: Wed, 12 Aug 2015 16:31:57 +0900 Subject: [PATCH] Remove dependency to cert-svc in pc-requires Change-Id: Icc23216660055364e2c350449d2e01d19cf256c9 Signed-off-by: Kyungwook Tak --- capi/CMakeLists.txt | 4 ++-- capi/include/privilege_manager.h | 10 ++++------ packaging/privilege-checker.spec | 1 - 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/capi/CMakeLists.txt b/capi/CMakeLists.txt index 6177847..8478a81 100644 --- a/capi/CMakeLists.txt +++ b/capi/CMakeLists.txt @@ -11,8 +11,8 @@ SET(INC_DIR include) INCLUDE_DIRECTORIES( "${INC_DIR}" ) - -SET(pc_requires "capi-base-common cert-svc") + +SET(pc_requires "capi-base-common") INCLUDE(FindPkgConfig) pkg_check_modules(${fw_name} REQUIRED capi-base-common dlog pkgmgr-info capi-appfw-package-manager glib-2.0) diff --git a/capi/include/privilege_manager.h b/capi/include/privilege_manager.h index 0e7f294..4bcb9c0 100755 --- a/capi/include/privilege_manager.h +++ b/capi/include/privilege_manager.h @@ -19,19 +19,17 @@ #include #include -#include #include "privilege_info.h" + #ifdef __cplusplus extern "C" { #endif -//typedef cert_svc_visibility privilege_manager_visibility_e; - typedef enum { - PRVMGR_PACKAGE_VISIBILITY_PUBLIC = 1 << 6, - PRVMGR_PACKAGE_VISIBILITY_PARTNER = 1 << 7, - PRVMGR_PACKAGE_VISIBILITY_PLATFORM = 1 << 10, + PRVMGR_PACKAGE_VISIBILITY_PUBLIC = 1 << 1, + PRVMGR_PACKAGE_VISIBILITY_PARTNER = 1 << 2, + PRVMGR_PACKAGE_VISIBILITY_PLATFORM = 1 << 3, } privilege_manager_visibility_e; typedef enum diff --git a/packaging/privilege-checker.spec b/packaging/privilege-checker.spec index f3145f7..a8ad6d2 100644 --- a/packaging/privilege-checker.spec +++ b/packaging/privilege-checker.spec @@ -32,7 +32,6 @@ BuildRequires: pkgconfig(capi-base-common) BuildRequires: gettext-tools BuildRequires: pkgconfig(pkgmgr-info) BuildRequires: pkgconfig(capi-appfw-package-manager) -BuildRequires: cert-svc-devel BuildRequires: pkgconfig(glib-2.0) %description -n capi-security-privilege-manager -- 2.7.4