Change-Id: Ic0e4afb82cb91d2f12bd005b10baa1da5a8b8c0c
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
+%bcond_with x
+
Name: device-manager-plugin-exynos5433
Summary: Device manager plugin exynos5433
Version: 0.0.1
BuildRequires: cmake
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(hwcommon)
-%if %{_with_x}
+%if %{with x}
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
%endif
cp %{SOURCE1} .
%build
-%if %{_with_x}
+%if %{with x}
%define X11_SUPPORT ON
%else
%define X11_SUPPORT OFF