not build without x devel/x11 submit/devel/x11/20140719.032611
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: Ife681d1bbe4c09d56b1baa1b3c7b24a3967be935

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.