Fix build error
authorJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 22 Feb 2021 04:27:06 +0000 (13:27 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 22 Feb 2021 04:27:06 +0000 (13:27 +0900)
Add tpk-manifest-handlers dependency

Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
CMakeLists.txt
packaging/rpk-installer.spec
src/rpk_manifest_handlers/required_privileges_handler.h

index 3a923d9040b22a55a886a5331d99ea053acbd03b..31f5a982c9c544b8d672ddd904743bcbf1c1f47c 100755 (executable)
@@ -34,6 +34,7 @@ PKG_CHECK_MODULES(GMOCK_DEPS REQUIRED gmock)
 PKG_CHECK_MODULES(PKGMGR_DEPS REQUIRED pkgmgr)
 PKG_CHECK_MODULES(MANIFEST_PARSER_DEPS REQUIRED manifest-parser)
 PKG_CHECK_MODULES(MANIFEST_PARSER_UTILS_DEPS REQUIRED manifest-parser-utils)
+PKG_CHECK_MODULES(TPK_MANIFEST_HANDLERS_DEPS REQUIRED tpk-manifest-handlers)
 PKG_CHECK_MODULES(LIBSYSTEMD_DEPS REQUIRED libsystemd)
 PKG_CHECK_MODULES(AUL_DEPS REQUIRED aul)
 
index a6f247d43bf4b1bdaaa82ae7722e2a576909fa1d..6e2f8147412379885864bd582a5f38cfad2ef6d0 100755 (executable)
@@ -12,6 +12,7 @@ BuildRequires:  pkgconfig(dlog)
 BuildRequires:  pkgconfig(gmock)
 BuildRequires:  pkgconfig(app-installers)
 BuildRequires:  pkgconfig(manifest-parser)
+BuildRequires:  pkgconfig(tpk-manifest-handlers)
 BuildRequires:  pkgconfig(pkgmgr)
 BuildRequires:  pkgconfig(libsystemd)
 BuildRequires:  pkgconfig(aul)
index d877b3dea98c10cf1f00d53ca842d90641850e9e..a8dce88fdc31b969e193862c69f0bd54934f9179 100755 (executable)
@@ -14,7 +14,7 @@
 #include "manifest_parser/manifest_handler.h"
 #include "manifest_parser/permission_types.h"
 #include "manifest_parser/values.h"
-#include "appdefined_privilege_handler.h"
+#include "tpk_manifest_handlers/appdefined_privilege_handler.h"
 
 namespace rpk {
 namespace parse {