diff --git a/glib2.spec b/glib2.spec index 6b4b1f4..2d03411 100644 --- a/glib2.spec +++ b/glib2.spec @@ -1,13 +1,15 @@ +ExclusiveArch: s390 s390x Summary: A library of handy utility functions. Name: glib2 Version: 2.7.5 -Release: 4 +Release: 5 License: LGPL Group: System Environment/Libraries Source: glib-%{version}.tar.bz2 Source2: glib2.sh Source3: glib2.csh Patch0: glib-2.7.5-convert.patch +Patch1: glib-2.7.5-atomic.patch Conflicts: libgnomeui <= 2.2.0 BuildRoot: %{_tmppath}/glib-%{PACKAGE_VERSION}-root BuildRequires: pkgconfig >= 0.8 @@ -38,6 +40,7 @@ version 2 of the GLib library. %prep %setup -q -n glib-%{version} %patch0 -p1 -b .convert +%patch1 -p1 -b .atomic %build @@ -46,6 +49,7 @@ for i in config.guess config.sub ; do done %configure --disable-gtk-doc --enable-static make +make check %ifnarch s390 s390x ppc64 make check %endif