put the x11 devel package back in buildrequires and a couple other spec fixes
authorAndrew Jorgensen <ajorgensen@novell.com>
Mon, 20 Sep 2010 23:23:51 +0000 (17:23 -0600)
committerAndrew Jorgensen <ajorgensen@novell.com>
Mon, 20 Sep 2010 23:23:51 +0000 (17:23 -0600)
mono-core.spec.in

index b56dc32be641dcc5e71d95971b5343689fcda4b4..513bd77cabc838b987914b49c4f36df614ecbf7d 100644 (file)
@@ -16,9 +16,10 @@ Version:        @VERSION@
 Release:        0
 Source0:        mono-%{version}.tar.bz2
 BuildRequires:  bison
-BuildRequires:  gcc-c++
 BuildRequires:  fdupes
+BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
+BuildRequires:  xorg-x11-libX11-devel
 BuildRequires:  zlib-devel
 %ifnarch ia64
 BuildRequires:  valgrind-devel
@@ -96,6 +97,9 @@ export PATH=/opt/novell/llvm-mono/bin:$PATH
 %if %llvm == yes
   --enable-loadedllvm \
   --disable-system-aot \
+%endif
+%ifnarch %ix86 x86_64
+  --disable-system-aot \
 %endif
   --with-ikvm=yes \
   --with-moonlight=no