condition added to exclusive build on wayland
authorPatryk Kaczmarek <patryk.k@samsung.com>
Tue, 31 Mar 2015 17:24:53 +0000 (19:24 +0200)
committerPatryk Kaczmarek <patryk.k@samsung.com>
Mon, 20 Apr 2015 10:29:00 +0000 (12:29 +0200)
Change-Id: I0b0e12b4a83636db86db3dc23e5074605d53696a

packaging/at-spi2-core.spec

index 7223067..4a861ba 100644 (file)
@@ -1,4 +1,5 @@
 %define debug_package %{nil}
+%bcond_with x
 
 Name: at-spi2-core
 Version: 2_12_0
@@ -15,11 +16,14 @@ BuildRequires: python-xml
 BuildRequires: intltool
 BuildRequires: dbus-devel
 BuildRequires: glib2-devel
+BuildRequires: gettext
+BuildRequires: gtk-doc
+%if !%{with x}
+ExclusiveArch:
+%endif
 BuildRequires: libX11-devel
 BuildRequires: libXtst-devel
 BuildRequires: libXi-devel
-BuildRequires: gettext
-BuildRequires: gtk-doc
 
 %description
 AT-SPI is a general interface for applications to make use of the