summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/xmodmap.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/packaging/xmodmap.spec b/packaging/xmodmap.spec
index a538cec..84f45ab 100644
--- a/packaging/xmodmap.spec
+++ b/packaging/xmodmap.spec
@@ -1,3 +1,5 @@
+%bcond_with x
+
Name: xmodmap
Version: 1.0.7
Release: 0
@@ -14,6 +16,11 @@ BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xorg-macros) >= 1.8
BuildRequires: pkgconfig(xproto) >= 7.0.17
+%if !%{with x}
+ExclusiveArch:
+%endif
+
+
%description
The xmodmap program is used to edit and display the keyboard modifier
map and keymap table that are used by client applications to convert