summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/xdpyinfo.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/xdpyinfo.spec b/packaging/xdpyinfo.spec
index 9cf6d85..9489ea9 100644
--- a/packaging/xdpyinfo.spec
+++ b/packaging/xdpyinfo.spec
@@ -1,3 +1,5 @@
+%bcond_with x
+
Name: xdpyinfo
Version: 1.3.1
Release: 1
@@ -23,6 +25,10 @@ BuildRequires: pkgconfig(xxf86dga)
BuildRequires: pkgconfig(xxf86misc)
BuildRequires: pkgconfig(xxf86vm)
+%if !%{with x}
+ExclusiveArch:
+%endif
+
%description
xdpyinfo is a utility for displaying information about an X server.