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 Sat Sep 17 10:23:43 UTC 2011 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package SDL_mixer # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,14 +16,16 @@
# #
Name: SDL_mixer 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 Summary: Sample Mixer Library for SDL
Version: 1.2.11
Release: 7
License: LGPL-2.1+ License: LGPL-2.1+
Group: System/Libraries Group: System/Libraries
Version: 1.2.11
Release: 0
# removed VisualC.zip, Watcom-OS2.zip, Xcode.tar.gz from upstream tarball [bnc#508180] # removed VisualC.zip, Watcom-OS2.zip, Xcode.tar.gz from upstream tarball [bnc#508180]
# removed libmikmod-3.1.12.zip # removed libmikmod-3.1.12.zip
Source: %{name}-%{version}-repack.tar.bz2 Source: %{name}-%{version}-repack.tar.bz2
@ -41,12 +43,8 @@ Timidity MIDI, and SMPEG MP3 libraries.
%package -n libSDL_mixer-1_2-0 %package -n libSDL_mixer-1_2-0
Summary: Sample Mixer Library for SDL Summary: Sample Mixer Library for SDL
Group: System/Libraries Group: System/Libraries
License: LGPL-2.1+
Provides: SDL_mixer = %{version} Provides: SDL_mixer = %{version}
Obsoletes: 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 # bug437293
%ifarch ppc64 %ifarch ppc64
Obsoletes: SDL_mixer-64bit Obsoletes: SDL_mixer-64bit
@ -60,11 +58,12 @@ Timidity MIDI, and SMPEG MP3 libraries.
%package -n libSDL_mixer-devel %package -n libSDL_mixer-devel
License: LGPL-2.1+ Requires: %{name} = %{version}
Requires: %{name} = %{version} SDL-devel Requires: SDL-devel
Summary: Sample Mixer Library for SDL - files mandatory for development Summary: Sample Mixer Library for SDL - files mandatory for development
Group: Development/Libraries/C and C++ 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} Provides: SDL_mixer-devel = %{version}
Obsoletes: SDL_mixer-devel <= %{version} Obsoletes: SDL_mixer-devel <= %{version}
# bug437293 # bug437293
@ -83,7 +82,7 @@ Timidity MIDI, and SMPEG MP3 libraries.
%setup -q %setup -q
%build %build
%configure \ %configure --disable-music-mod-shared --disable-music-ogg-shared --disable-music-flac-shared \
--disable-static \ --disable-static \
--with-pic --with-pic
make %{?_smp_mflags} make %{?_smp_mflags}