summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/dri2proto.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/dri2proto.spec b/packaging/dri2proto.spec
index 5ff4bb3..c456b63 100644
--- a/packaging/dri2proto.spec
+++ b/packaging/dri2proto.spec
@@ -1,3 +1,5 @@
+%bcond_with x
+
Name: dri2proto
Summary: X.Org X11 Protocol dri2proto
Version: 2.8
@@ -11,6 +13,10 @@ Source1001: dri2proto.manifest
BuildRequires: pkgconfig
BuildRequires: pkgconfig(xorg-macros)
+%if !%{with x}
+ExclusiveArch:
+%endif
+
%description
%{summary}