summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/xkbevd.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/xkbevd.spec b/packaging/xkbevd.spec
index 9e566e6..b3f87c2 100644
--- a/packaging/xkbevd.spec
+++ b/packaging/xkbevd.spec
@@ -1,3 +1,5 @@
+%bcond_with x
+
Name: xkbevd
Version: 1.1.3
Release: 1
@@ -13,6 +15,10 @@ BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xkbfile)
BuildRequires: pkgconfig(xorg-macros) >= 1.8
+%if !%{with x}
+ExclusiveArch:
+%endif
+
%description
The xkbevd event daemon listens for specified XKB events and executes
requested commands if they occur. The configuration file consists of