summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/xinit.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/xinit.spec b/packaging/xinit.spec
index 8edec92..4f3f83b 100644
--- a/packaging/xinit.spec
+++ b/packaging/xinit.spec
@@ -1,3 +1,5 @@
+%bcond_with x
+
Name: xinit
Version: 1.3.2
Release: 1
@@ -21,6 +23,10 @@ Requires: xrdb
Requires: xsetroot
Requires: xorg-x11-server-utils
+%if !%{with x}
+ExclusiveArch:
+%endif
+
%description
The xinit program is used to start the X Window System server and a
first client program on systems that are not using a display manager