<div dir="ltr">Hey Neale,<div><br></div><div>These look fine, please commit.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 29, 2014 at 5:14 PM, Neale Ferguson <span dir="ltr"><<a href="mailto:NealeFerguson@verizon.net" target="_blank">NealeFerguson@verizon.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A couple of changes needed in order to enable building on RHEL and CentOS 6/7 -<br>
<br>
libgdiplus0:<br>
<br>
--- a/<a href="http://libgdiplus0.spec.in" target="_blank">libgdiplus0.spec.in</a><br>
+++ b/<a href="http://libgdiplus0.spec.in" target="_blank">libgdiplus0.spec.in</a><br>
@@ -16,14 +16,19 @@ Provides:       libgdiplus<br>
<br>
 BuildRequires:  cairo-devel >= 1.6.4<br>
 BuildRequires:  fontconfig-devel<br>
-BuildRequires:  freetype2-devel<br>
 BuildRequires:  giflib-devel<br>
 BuildRequires:  glib2-devel<br>
 BuildRequires:  libexif-devel<br>
 BuildRequires:  libjpeg-devel<br>
 BuildRequires:  libpng-devel<br>
 BuildRequires:  libtiff-devel<br>
+%if 0%{?suse_version}<br>
 BuildRequires:  xorg-x11-libXrender-devel<br>
+BuildRequires:  freetype2-devel<br>
+%else<br>
+BuildRequires:  libXrender-devel<br>
+BuildRequires:  freetype-devel<br>
+%endif<br>
<br>
 %description<br>
 This is part of the Mono project. It is required when using<br>
<br>
mono:<br>
<br>
--- a/<a href="http://mono-core.spec.in" target="_blank">mono-core.spec.in</a><br>
+++ b/<a href="http://mono-core.spec.in" target="_blank">mono-core.spec.in</a><br>
@@ -4,6 +4,9 @@<br>
<br>
 %ifnarch %ix86 x86_64<br>
 %define llvm no<br>
+%endif<br>
+<br>
+%ifnarch %ix86 x86_64 s390x<br>
 %define sgen no<br>
 %endif<br>
<br>
@@ -16,10 +19,14 @@ Version:        @VERSION@<br>
 Release:        0<br>
 Source0:        mono-%{version}.tar.bz2<br>
 BuildRequires:  bison<br>
+%if 0%{?suse_version}<br>
 BuildRequires:  fdupes<br>
+BuildRequires:  xorg-x11-libX11-devel<br>
+%else<br>
+BuildRequires: libX11-devel<br>
+%endif<br>
 BuildRequires:  gcc-c++<br>
 BuildRequires:  pkgconfig<br>
-BuildRequires:  xorg-x11-libX11-devel<br>
 BuildRequires:  zlib-devel<br>
 %ifnarch ia64<br>
 BuildRequires:  valgrind-devel<br>
@@ -48,7 +55,9 @@ Conflicts:      banshee < 1.0<br>
 Conflicts:      f-spot < 0.4<br>
 Conflicts:      helix-banshee < 1.0<br>
 Conflicts:      mono-addins < 0.3.1<br>
+%if 0%{?suse_version}<br>
 Recommends:     libgdiplus0 >= 2.6<br>
+%endif<br>
 %if %llvm == yes<br>
 Recommends:     libmono-llvm0 = %{version}-%{release}<br>
<br>
+%endif<br>
 %if %llvm == yes<br>
 Recommends:     libmono-llvm0 = %{version}-%{release}<br>
 %endif<br>
@@ -92,6 +101,7 @@ export CFLAGS=" $RPM_OPT_FLAGS -fno-strict-aliasing"<br>
 export PATH=/opt/novell/llvm-mono/bin:$PATH<br>
 %endif<br>
 %configure \<br>
+  --target=%{_host} \<br>
   --with-sgen=%{sgen} \<br>
 %if %llvm == yes<br>
   --enable-loadedllvm \<br>
@@ -104,6 +114,7 @@ export PATH=/opt/novell/llvm-mono/bin:$PATH<br>
   --with-moonlight=no<br>
 #make # We are not -jN safe! %{?jobs:-j%jobs}<br>
 # We are now !<br>
+make get-monolite-latest<br>
 make %{?_smp_mflags}<br>
<br>
 %install<br>
@@ -130,7 +141,9 @@ rm -f %buildroot%_prefix/lib/mono/2.0/cilc.exe*<br>
 ln -s . %buildroot%_prefix%_prefix<br>
 RPM_BUILD_ROOT=%buildroot%_prefix /usr/lib/rpm/brp-compress<br>
 rm %buildroot%_prefix%_prefix<br>
+%if 0%{?suse_version}<br>
 %fdupes %buildroot%_prefix<br>
+%endif<br>
 %find_lang mcs<br>
<br>
 %clean<br>
<br>
<br>
<br>
_______________________________________________<br>
Mono-devel-list mailing list<br>
<a href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
</blockquote></div><br></div>