summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/xf86driproto.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/xf86driproto.spec b/packaging/xf86driproto.spec
index 88de2e7..d347a03 100644
--- a/packaging/xf86driproto.spec
+++ b/packaging/xf86driproto.spec
@@ -1,3 +1,5 @@
+%bcond_with x
+
Name: xf86driproto
Summary: X.Org X11 Protocol xf86driproto
Version: 2.1.1
@@ -11,6 +13,10 @@ Source1001: xf86driproto.manifest
BuildRequires: pkgconfig
BuildRequires: pkgconfig(xorg-macros)
+%if !%{with x}
+ExclusiveArch:
+%endif
+
# some file to be intalled can be ignored when rpm generates packages
%define _unpackaged_files_terminate_build 0