not build without x 95/24895/1
authorBoram Park <boram1288.park@samsung.com>
Sat, 19 Jul 2014 03:22:27 +0000 (12:22 +0900)
committerBoram Park <boram1288.park@samsung.com>
Thu, 24 Jul 2014 06:27:57 +0000 (15:27 +0900)
Change-Id: If7f1a3df2eeb6593ffb9df1d3c53d830031beb04

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.