Add dependency to sqlite3 62/46162/1 accepted/tizen/mobile/20150817.134140 accepted/tizen/mobile/20150817.134158 accepted/tizen/tv/20150817.134533 accepted/tizen/tv/20150817.134541 accepted/tizen/wearable/20150817.134813 accepted/tizen/wearable/20150817.134826 submit/tizen/20150817.084057 submit/tizen/20150817.105827
authorSangyoon Jang <s89.jang@samsung.com>
Mon, 17 Aug 2015 10:41:43 +0000 (19:41 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Mon, 17 Aug 2015 10:41:43 +0000 (19:41 +0900)
email-utilities.h from email-common-use exports sqlite3.h (from email-storage.h)
but it doesn't have dependency to sqlite3

[  113s] In file included from /home/abuild/rpmbuild/BUILD/email-service-0.10.102/email-common-use/include/email-utilities.h:35:0,
[  113s]                  from /home/abuild/rpmbuild/BUILD/email-service-0.10.102/email-common-use/email-utilities.c:45:
[  113s] /home/abuild/rpmbuild/BUILD/email-service-0.10.102/email-core/email-storage/include/email-storage.h:41:21: fatal error: sqlite3.h: No such file or directory
[  113s]  #include <sqlite3.h>

Change-Id: I45fa7bd66e35929dd605efc8a9306d4ccb90dfd0
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
email-common-use/CMakeLists.txt
packaging/email-service.spec

index 060c5a8..b29ebee 100755 (executable)
@@ -29,7 +29,7 @@ INCLUDE_DIRECTORIES(
 )
 
 INCLUDE(FindPkgConfig)
-pkg_check_modules(common_pkgs REQUIRED glib-2.0 dlog dbus-1 vconf contacts-service2 uw-imap-toolkit) 
+pkg_check_modules(common_pkgs REQUIRED glib-2.0 dlog dbus-1 vconf contacts-service2 uw-imap-toolkit sqlite3
 
 FOREACH(flag ${common_pkgs_CFLAGS})
        SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
index b378ddb..243cbee 100755 (executable)
@@ -61,6 +61,7 @@ BuildRequires:  pkgconfig(capi-system-device)
 #BuildRequires:  pkgconfig(vasum)
 BuildRequires:  pkgconfig(libtzplatform-config)
 BuildRequires:  pkgconfig(libsmack)
+BuildRequires:  pkgconfig(sqlite3)
 Requires: libtzplatform-config
 
 %description