not build without x submit/devel/x11/20140719.032544
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:22:27 +0000 (12:22 +0900)
Change-Id: Ie772296af0d196ed5e3c93f39edd13113344e0f4

packaging/xf86-module-xdbg.spec

index 51a4125..df0963f 100644 (file)
@@ -1,3 +1,5 @@
+%bcond_with x
+
 Name: xf86-module-xdbg
 Summary: Xserver debug module
 Version: 0.1.26
@@ -45,6 +47,10 @@ BuildRequires:  pkgconfig(xtst)
 BuildRequires:  pkgconfig(xi)
 BuildRequires:  pkgconfig(xv)
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
 %description
 This package provides the runtime debug library and module for debug of inside X server.