From 6b04504de8b04500aae220db7bb8c5760a2e32afc28954f03c70bc2a96b5e642 Mon Sep 17 00:00:00 2001 From: Cristian Morales Vega Date: Mon, 7 Jan 2013 13:53:55 +0000 Subject: [PATCH] Accepting request 146875 from home:elvigia:branches:games - Do not use dlopened libraries _ever_. OBS-URL: https://build.opensuse.org/request/show/146875 OBS-URL: https://build.opensuse.org/package/show/games/SDL_mixer?expand=0&rev=17 --- SDL_mixer.changes | 5 +++++ SDL_mixer.spec | 27 +++++++++++++-------------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/SDL_mixer.changes b/SDL_mixer.changes index 86f7b47..3f0048c 100644 --- a/SDL_mixer.changes +++ b/SDL_mixer.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 3 02:18:43 UTC 2013 - crrodriguez@opensuse.org + +- Do not use dlopened libraries _ever_. + ------------------------------------------------------------------- Sat Sep 17 10:23:43 UTC 2011 - jengelh@medozas.de diff --git a/SDL_mixer.spec b/SDL_mixer.spec index 27025d3..1710c93 100644 --- a/SDL_mixer.spec +++ b/SDL_mixer.spec @@ -1,7 +1,7 @@ # # spec file for package SDL_mixer # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,16 @@ # - Name: SDL_mixer -BuildRequires: flac-devel libSDL-devel libmikmod-devel libvorbis-devel +BuildRequires: flac-devel +BuildRequires: libSDL-devel +BuildRequires: libmikmod-devel +BuildRequires: libvorbis-devel Summary: Sample Mixer Library for SDL -Version: 1.2.11 -Release: 7 -License: LGPLv2.1+ +License: LGPL-2.1+ Group: System/Libraries +Version: 1.2.11 +Release: 0 # removed VisualC.zip, Watcom-OS2.zip, Xcode.tar.gz from upstream tarball [bnc#508180] # removed libmikmod-3.1.12.zip Source: %{name}-%{version}-repack.tar.bz2 @@ -41,12 +43,8 @@ Timidity MIDI, and SMPEG MP3 libraries. %package -n libSDL_mixer-1_2-0 Summary: Sample Mixer Library for SDL Group: System/Libraries -License: LGPLv2.1+ Provides: SDL_mixer = %{version} Obsoletes: SDL_mixer <= %{version} -Recommends: %(rpm -qf %{_libdir}/libmikmod.so.[0-9] --qf '%{NAME}') -Recommends: %(rpm -qf %{_libdir}/libvorbisfile.so.[0-9] --qf '%{NAME}') -Recommends: %(rpm -qf %{_libdir}/libFLAC.so.[0-9] --qf '%{NAME}') # bug437293 %ifarch ppc64 Obsoletes: SDL_mixer-64bit @@ -60,11 +58,12 @@ Timidity MIDI, and SMPEG MP3 libraries. %package -n libSDL_mixer-devel -License: LGPLv2.1+ -Requires: %{name} = %{version} SDL-devel +Requires: %{name} = %{version} +Requires: SDL-devel Summary: Sample Mixer Library for SDL - files mandatory for development Group: Development/Libraries/C and C++ -Requires: libSDL_mixer-1_2-0 = %{version} libSDL-devel +Requires: libSDL-devel +Requires: libSDL_mixer-1_2-0 = %{version} Provides: SDL_mixer-devel = %{version} Obsoletes: SDL_mixer-devel <= %{version} # bug437293 @@ -83,7 +82,7 @@ Timidity MIDI, and SMPEG MP3 libraries. %setup -q %build -%configure \ +%configure --disable-music-mod-shared --disable-music-ogg-shared --disable-music-flac-shared \ --disable-static \ --with-pic make %{?_smp_mflags}