More atomic fiddling

This commit is contained in:
Matthias Clasen 2005-08-03 14:58:56 +00:00
parent 24d6ed57d2
commit dd836ccda4
1 changed files with 5 additions and 1 deletions

View File

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