summaryrefslogtreecommitdiff
path: root/packaging/xkbprint.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/xkbprint.spec')
-rw-r--r--packaging/xkbprint.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/xkbprint.spec b/packaging/xkbprint.spec
index 0bf8005..534e6f1 100644
--- a/packaging/xkbprint.spec
+++ b/packaging/xkbprint.spec
@@ -1,3 +1,5 @@
+%bcond_with x
+
Name: xkbprint
Version: 1.0.3
Release: 1
@@ -12,6 +14,10 @@ BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xkbfile)
BuildRequires: pkgconfig(xorg-macros) >= 1.3
+%if !%{with x}
+ExclusiveArch:
+%endif
+
%description
xkbprint generates a printable or encapsulated PostScript description
of an XKB keyboard description.