libXrandr should not try to build into a pure wayland platform. 90/15890/2 accepted/tizen/generic accepted/tizen/ivi/stable accepted/tizen/mobile accepted/tizen_generic accepted/tizen_ivi accepted/tizen_ivi_panda accepted/tizen_ivi_release tizen_ivi_release accepted/tizen/generic/20140214.163202 accepted/tizen/generic/20140312.110311 accepted/tizen/ivi/20140214.182836 accepted/tizen/ivi/panda/20140312.114116 accepted/tizen/ivi/release/20140312.124440 accepted/tizen/mobile/20140225.042432 submit/tizen/20140214.162252 submit/tizen/20140312.070826 submit/tizen_ivi_release/20140312.071255
authorRonan Le Martret <ronan@fridu.net>
Wed, 29 Jan 2014 12:13:31 +0000 (13:13 +0100)
committerronan(Eurogiciel) Le Martret <ronan.lemartret@open.eurogiciel.org>
Wed, 29 Jan 2014 15:23:11 +0000 (07:23 -0800)
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: If7047da7405a239a6c72c1cc0a4a96741acf3e8a
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
packaging/libXrandr.spec

index 2ba10c4..3cc72cc 100644 (file)
@@ -1,3 +1,5 @@
+%bcond_with x
+
 Name:           libXrandr
 Version:        1.4.0
 Release:        3
@@ -15,6 +17,10 @@ BuildRequires:  pkgconfig(xorg-macros)
 BuildRequires:  pkgconfig(xproto)
 BuildRequires:  pkgconfig(xrender)
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
 %description
 X.Org X11 libXrandr runtime library
 
@@ -31,7 +37,7 @@ X.Org X11 libXrandr development package
 cp %{SOURCE1001} .
 
 %build
-%configure  --disable-static 
+%configure  --disable-static
 make %{?_smp_mflags}
 
 %install
@@ -46,7 +52,7 @@ make %{?_smp_mflags}
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
-%license COPYING 
+%license COPYING
 %{_libdir}/libXrandr.so.2
 %{_libdir}/libXrandr.so.2.2.0