summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/x11-common.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/x11-common.spec b/packaging/x11-common.spec
index 219768a..a78c47c 100644
--- a/packaging/x11-common.spec
+++ b/packaging/x11-common.spec
@@ -1,3 +1,5 @@
+%bcond_with x
+
Name: x11-common
Summary: Configuration-files needed by xserver for autorun
Version: 0.0.1
@@ -11,6 +13,10 @@ Requires: xorg-server
Requires: xorg-launch-helper
Conflicts: weston-common
+%if !%{with x}
+ExclusiveArch:
+%endif
+
%description
Description: %{summary}