diff --git a/SDL-1.2.10-multilib.patch b/SDL-1.2.10-multilib.patch index e077bee..765452c 100644 --- a/SDL-1.2.10-multilib.patch +++ b/SDL-1.2.10-multilib.patch @@ -4,7 +4,7 @@ @ENABLE_STATIC_TRUE@usage="\ @ENABLE_STATIC_TRUE@Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs] [--static-libs]" -+arch=$(/bin/arch) ++arch=$(/bin/uname -m) +if [ "$arch" = "x86_64" -o "$arch" = "s390x" -o "$arch" = "ppc64" \ + -o "$arch" = "ia64" ]; +then diff --git a/SDL.spec b/SDL.spec index 6bb372c..4a4ab8e 100644 --- a/SDL.spec +++ b/SDL.spec @@ -1,7 +1,7 @@ Summary: A cross-platform multimedia library Name: SDL Version: 1.2.12 -Release: 1%{?dist} +Release: 2%{?dist} Source: http://www.libsdl.org/release/%{name}-%{version}.tar.gz Source2: SDL_config.h Patch0: SDL-1.2.10-byteorder.patch @@ -125,6 +125,9 @@ rm -rf %{buildroot} %{_mandir}/man3/SDL*.3* %changelog +* Tue Aug 28 2007 Thomas Woerner 1.2.12-2 +- use uname -m in multilib patch instead of arch + * Mon Aug 27 2007 Thomas Woerner 1.2.12-1 - new version 1.2.12 fixes TEXTRELs (rhbz#179407)