rpms/gmime/devel gmime.spec,1.22,1.23

Thorsten Leemhuis (thl) fedora-extras-commits at redhat.com
Fri Jul 6 17:31:24 UTC 2007


Author: thl

Update of /cvs/pkgs/rpms/gmime/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29721

Modified Files:
	gmime.spec 
Log Message:
2.2.9-2
- build stuff depending on mono on all archs except those where
  we know there is no mono (fixes alpha, #246437)


Index: gmime.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gmime/devel/gmime.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- gmime.spec	22 May 2007 16:07:12 -0000	1.22
+++ gmime.spec	6 Jul 2007 17:30:42 -0000	1.23
@@ -1,6 +1,6 @@
 Name:           gmime
 Version:        2.2.9
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Library for creating and parsing MIME messages
 
 Group:          System Environment/Libraries
@@ -16,11 +16,14 @@
 Patch1: gmime-2.2.3-use-pkg-config.patch
 Patch2: gmime-2.2.3-libdir.patch
 
-# Mono only availible on these:
-%define mono_archs %ix86 x86_64 ppc ia64 armv4l sparc
-# no mono on s390 for now: s390 s390x 
+# no mono on s390 for now, thus exclude s390 s390x
+%ifarch s390 s390x
+%define buildmono 0
+%else
+%define buildmono 1
+%endif
 
-%ifarch %mono_archs
+%if 0%buildmono
 BuildRequires:  mono-devel gtk-sharp2-gapi
 BuildRequires:  gtk-sharp2-devel >= 2.4.0
 %endif
@@ -43,7 +46,7 @@
 Internet Mail Extension (MIME). The devel-package contains header files
 to develop applications that use libgmime.
 
-%ifarch %mono_archs
+%if 0%buildmono
 %package        sharp
 Summary:        mono bindings for gmime
 Group:          Development/Libraries
@@ -65,7 +68,7 @@
 %build
 cp %{_datadir}/gettext/config.rpath .
 autoreconf --force --install
-%ifarch %mono_archs
+%if 0%buildmono
 export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
 MONO_ARGS="--enable-mono"
 %endif
@@ -108,7 +111,7 @@
 %{_includedir}/gmime-2.0
 %{_datadir}/gtk-doc/html/gmime
 
-%ifarch %mono_archs
+%if 0%buildmono
 %files sharp
 %defattr(-,root,root,-)
 %{_libdir}/pkgconfig/gmime-sharp.pc
@@ -118,6 +121,10 @@
 %endif
 
 %changelog
+* Fri Jul 06 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.2.9-2
+- build stuff depending on mono on all archs except those where
+  we know there is no mono (fixes alpha, #246437)
+
 * Tue May 22 2007 Matthias Clasen <mclasen at redhat.com> - 2.2.9-1
 - Update to 2.2.9
 




More information about the scm-commits mailing list