packaging: exclude on non X11 configuration 35/16035/1 accepted/tizen/generic accepted/tizen/ivi/stable accepted/tizen/mobile accepted/tizen_ivi_panda accepted/tizen_ivi_release sandbox/pcoval/tizen tizen_ivi_release accepted/tizen/generic/20140213.074846 accepted/tizen/generic/20140312.095352 accepted/tizen/ivi/20140214.183056 accepted/tizen/ivi/panda/20140312.111440 accepted/tizen/ivi/release/20140312.123638 accepted/tizen/mobile/20140225.042553 submit/tizen/20140213.073616 submit/tizen/20140312.070718 submit/tizen_ivi_release/20140312.071155
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Wed, 5 Feb 2014 11:06:45 +0000 (12:06 +0100)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Wed, 5 Feb 2014 11:06:45 +0000 (12:06 +0100)
Change-Id: I1f5cc4fe641ae03a701b7c1b63de26b7d24a1c56
Bug-Tizen: PTREL-653
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/libdri2.spec

index a69b456..998bb0d 100644 (file)
@@ -1,3 +1,5 @@
+%bcond_with x
+
 Name:       libdri2
 Summary:    X.Org DRI2 Extension client library
 Version:    0.1.0
@@ -10,6 +12,9 @@ BuildRequires:  pkgconfig(dri2proto)
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xfixes)
+%if ! %{with x}
+ExclusiveArch:
+%endif
 
 
 %description