summaryrefslogtreecommitdiff
path: root/packaging/xf86-input-evdev.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/xf86-input-evdev.spec')
-rw-r--r--packaging/xf86-input-evdev.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/xf86-input-evdev.spec b/packaging/xf86-input-evdev.spec
index 2e07f32..3becc13 100644
--- a/packaging/xf86-input-evdev.spec
+++ b/packaging/xf86-input-evdev.spec
@@ -1,3 +1,5 @@
+%bcond_with x
+
Name: xf86-input-evdev
Version: 2.7.3
Release: 0
@@ -18,6 +20,10 @@ BuildRequires: pkgconfig(xorg-server)
BuildRequires: pkgconfig(xproto)
Requires: udev
+%if !%{with x}
+ExclusiveArch:
+%endif
+
%description
evdev is an Xorg input driver for Linux's generic event devices. It
therefore supports all input devices that the kernel knows about,