device-plugin: Fix the bcond with option 69/38769/1 accepted/tizen/mobile/20150428.090818 submit/tizen_mobile/20150428.085244
authorJiyoung Yun <jy910.yun@samsung.com>
Tue, 28 Apr 2015 08:44:30 +0000 (17:44 +0900)
committerJiyoung Yun <jy910.yun@samsung.com>
Tue, 28 Apr 2015 08:44:30 +0000 (17:44 +0900)
Change-Id: Ic0e4afb82cb91d2f12bd005b10baa1da5a8b8c0c
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
packaging/device-manager-plugin-exynos5433.spec

index b568844..fa6939f 100644 (file)
@@ -1,3 +1,5 @@
+%bcond_with x
+
 Name:       device-manager-plugin-exynos5433
 Summary:    Device manager plugin exynos5433
 Version:    0.0.1
@@ -11,7 +13,7 @@ Requires(postun): /sbin/ldconfig
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(dlog)
 BuildRequires:  pkgconfig(hwcommon)
-%if %{_with_x}
+%if %{with x}
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xext)
 %endif
@@ -25,7 +27,7 @@ Device manager plugin exynos 5433
 cp %{SOURCE1} .
 
 %build
-%if %{_with_x}
+%if %{with x}
 %define X11_SUPPORT ON
 %else
 %define X11_SUPPORT OFF