summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/xauth.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/xauth.spec b/packaging/xauth.spec
index 55f4bd8..e0244fb 100644
--- a/packaging/xauth.spec
+++ b/packaging/xauth.spec
@@ -1,3 +1,5 @@
+%bcond_with x
+
Name: xauth
Version: 1.0.7
Release: 1
@@ -14,6 +16,10 @@ BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xmuu)
BuildRequires: pkgconfig(xorg-macros) >= 1.8
+%if !%{with x}
+ExclusiveArch:
+%endif
+
%description
The xauth program is used to edit and display the authorization
information used in connecting to the X server.