dbus-x11 should not try to build into a pure wayland platform.
authorRonan Le Martret <ronan@fridu.net>
Wed, 29 Jan 2014 11:06:31 +0000 (12:06 +0100)
committerAdrian Szyndela <adrian.s@samsung.com>
Fri, 19 Feb 2016 10:09:56 +0000 (11:09 +0100)
This package is designed for an X server platform.

In a system released, based exclusively on Wayland platform, it should be in a excluded status.

Tizen devel  | Tizen release
_____________|______________
succeeded    | succeeded
excluded     | excluded
broken       |
failed       |
unresolvable |
blocked      |
locked       |
note:
    - The disabled status is only
      allowed for OBS administration.

Change-Id: I1495b66a2e32b580223229ead6bc66426ff680a6
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
packaging/dbus-x11.spec

index e914ce6..7d94427 100644 (file)
@@ -1,3 +1,5 @@
+%bcond_with x
+
 Name:           dbus-x11
 %define _name   dbus
 BuildRequires:  pkgconfig(x11)
@@ -37,6 +39,10 @@ BuildRequires:  pkgconfig(libsmack)
 # COMMON1-END
 # COMMON1-END
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
 %description
 D-Bus contains some tools that require Xlib to be installed, those are
 in this separate package so server systems need not install X.