Accepting request 147403 from games

- Do not use dlopened libraries _ever_. (forwarded request 146875 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/147403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_mixer?expand=0&rev=28
This commit is contained in:
Stephan Kulow 2013-01-08 13:59:24 +00:00 committed by Git OBS Bridge
commit 1028863267
2 changed files with 17 additions and 13 deletions

View File

@ -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

View File

@ -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: 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: LGPL-2.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: LGPL-2.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}