Add dependency to sqlite3 60/46160/3 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150817.134150 accepted/tizen/mobile/20150817.134244 accepted/tizen/tv/20150817.134534 accepted/tizen/tv/20150817.134611 accepted/tizen/wearable/20150817.134814 accepted/tizen/wearable/20150817.134836 submit/tizen/20150817.084057 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 submit/tizen_mobile/20150817.104952 submit/tizen_tv/20150817.104956 submit/tizen_wearable/20150817.104959 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
authorSangyoon Jang <s89.jang@samsung.com>
Mon, 17 Aug 2015 10:13:48 +0000 (19:13 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Mon, 17 Aug 2015 10:40:47 +0000 (19:40 +0900)
including sqlite3.h is required instead of db-util.h at bluetooth-share-api.h
bluetooth-share-api exports sqlite3(in past, db-util.h) in its header
but it doesn't have dependency to sqlite3

[  229s]
/home/abuild/rpmbuild/BUILD/bluetooth-share-0.0.47/lib/bluetooth-share-api.h:27:21:
fatal error: db-util.h: No such file or directory

Change-Id: I7650a7c9e2d2e04ad61204dc26642889401c950f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
lib/bluetooth-share-api.h
lib/bluetooth-share-api.pc.in

index a71ebba..1e2390c 100644 (file)
@@ -24,7 +24,7 @@
 extern "C" {
 #endif
 
-#include <db-util.h>
+#include <sqlite3.h>
 
 #ifndef EXPORT_API
 #define EXPORT_API __attribute__((visibility("default")))
index 52917a6..a24dee2 100644 (file)
@@ -7,6 +7,6 @@ Name: bluetooth-share-api
 Description: SAMSUNG Linux platform Bluetooth share API
 Version: @VERSION@
 Requires.private: dlog vconf
-Requires: dbus-glib-1
+Requires: dbus-glib-1 sqlite3
 Libs: -L${libdir} -lbluetooth-share-api
 Cflags: -I${includedir} -I${includedir}/bluetooth-share-api