From f2983c0ef09321eeeb823d521cdf686b14af05e1 Mon Sep 17 00:00:00 2001 From: Wootak Jung Date: Tue, 11 Oct 2016 09:46:40 +0900 Subject: [PATCH] Remove unused dependency - remove gudev dependency Change-Id: I784de1e163b4a05a31cd3448b41ce35dc2f7928c --- CMakeLists.txt | 2 +- packaging/libtcore.spec | 3 +-- tcore.pc.in | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ae4c95..6af461e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ SET(INCLUDEDIR "\${prefix}/include") # Set required packages INCLUDE(FindPkgConfig) -pkg_check_modules(pkgs REQUIRED glib-2.0 gudev-1.0 libtzplatform-config) +pkg_check_modules(pkgs REQUIRED glib-2.0 libtzplatform-config) FOREACH(flag ${pkgs_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") diff --git a/packaging/libtcore.spec b/packaging/libtcore.spec index 51d641e..70ad9cc 100644 --- a/packaging/libtcore.spec +++ b/packaging/libtcore.spec @@ -1,6 +1,6 @@ %define major 0 %define minor 3 -%define patchlevel 5 +%define patchlevel 6 Name: libtcore Version: %{major}.%{minor}.%{patchlevel} @@ -11,7 +11,6 @@ Group: System/Libraries Source0: libtcore-%{version}.tar.gz BuildRequires: cmake BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(libtzplatform-config) Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig diff --git a/tcore.pc.in b/tcore.pc.in index 730cc2f..7ef2e5c 100644 --- a/tcore.pc.in +++ b/tcore.pc.in @@ -6,7 +6,7 @@ includedir=${prefix}/include Name: tcore Description: SLP Telephony core API Version: 1.0 -Requires: glib-2.0 gobject-2.0 gudev-1.0 +Requires: glib-2.0 gobject-2.0 Libs: -L${libdir} -ltcore -ldl Cflags: -I${includedir}/tcore -- 2.7.4