not build without x submit/devel/x11/20140719.033206
authorBoram Park <boram1288.park@samsung.com>
Sat, 19 Jul 2014 03:22:27 +0000 (12:22 +0900)
committerBoram Park <boram1288.park@samsung.com>
Sat, 19 Jul 2014 03:31:54 +0000 (12:31 +0900)
Change-Id: I85416ad201e66055bb474644df1cca9e0b556a7b

packaging/xf86-video-exynos.spec

index 16c7bf6..72eecd5 100755 (executable)
@@ -1,8 +1,9 @@
+%bcond_with x
+
 Name:       xf86-video-exynos
 Summary:    X.Org X server driver for exynos
 Version:    1.0.0
 Release:    1
-ExclusiveArch:  %arm
 Group:      System/X Hardware Support
 License:    Samsung
 Source0:    %{name}-%{version}.tar.gz
@@ -21,6 +22,12 @@ BuildRequires:  pkgconfig(libtbm)
 BuildRequires:  pkgconfig(xdbg)
 BuildRequires:  pkgconfig(libdrm)
 
+%if !%{with x}
+ExclusiveArch:
+%else
+ExclusiveArch: %arm
+%endif
+
 %description
 This package provides the driver for the Samsung display device exynos