not build without x 30/24930/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:29:16 +0000 (15:29 +0900)
Change-Id: I7241e1cc30ca7f5e01cc1a6aa11a65ccdf2fe357

packaging/xf86-input-gesture.spec

index 930f3f6..45950b9 100644 (file)
@@ -1,3 +1,5 @@
+%bcond_with x
+
 #sbs-git:slp/pkgs/xorg/driver/xserver-xorg-input-gesture xorg-x11-drv-gesture 0.1.0 fb1092a8ea453d658b38d5c28e67a58462d7c931
 Name:  xf86-input-gesture
 Summary:    X.Org X server -- Xserver gesture driver
@@ -13,6 +15,10 @@ BuildRequires:  pkgconfig(inputproto)
 BuildRequires:  pkgconfig(resourceproto)
 BuildRequires:  pkgconfig(xorg-macros)
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
 %description
  This package provides the driver for recognizing gesture(s) using button
 and motion events inside X server.