From 1cf8b3f8ea3da4c00ba4f001f63f8820d7c8ef8b7bbba8d2baf08cc89e15d1a6 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 22 May 2008 02:32:44 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_sound?expand=0&rev=4 --- SDL_sound.changes | 6 ++++++ SDL_sound.spec | 12 +++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/SDL_sound.changes b/SDL_sound.changes index 4418e2e..0256ef4 100644 --- a/SDL_sound.changes +++ b/SDL_sound.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 19 11:14:00 CEST 2008 - crrodriguez@suse.de + +- disable unusable static libraries + (there is no static libogg,libvorbis,flac,speex etc..) + ------------------------------------------------------------------- Thu Apr 24 11:18:57 CEST 2008 - prusnak@suse.cz diff --git a/SDL_sound.spec b/SDL_sound.spec index 99f1aa0..a0e16b4 100644 --- a/SDL_sound.spec +++ b/SDL_sound.spec @@ -16,7 +16,7 @@ BuildRequires: SDL-devel flac-devel libmikmod-devel libogg-devel libvorbis-deve Url: http://icculus.org/SDL_sound/ Summary: Sound Sample Library for SDL (Simple DirectMedia Layer) Version: 1.0.3 -Release: 1 +Release: 12 Source: %{name}-%{version}-nompglib.tar.bz2 Patch0: %{name}-%{version}-nompglib.patch License: LGPL v2.1 or later @@ -40,8 +40,7 @@ Authors: License: LGPL v2.1 or later Summary: Sound Sample Library for SDL (Simple DirectMedia Layer) Group: System/Libraries -Requires: %{name} = %{version} -Requires: SDL-devel flac-devel libmikmod-devel libvorbis-devel libogg-devel speex-devel physfs-devel +Requires: %{name} = %{version} SDL-devel %description devel SDL_sound is a library that handles the decoding of several popular @@ -61,11 +60,12 @@ Authors: %patch0 %build -%configure --disable-sdltest --disable-smpeg --disable-mpglib +%configure --disable-static --with-pic --disable-sdltest --disable-smpeg --disable-mpglib make %{?jobs:-j %jobs} %install make install DESTDIR=$RPM_BUILD_ROOT +rm -f %{buildroot}%{_libdir}/*.la %post -p /sbin/ldconfig @@ -83,10 +83,12 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root) %{_includedir}/SDL -%{_libdir}/*a %{_libdir}/lib*.so %changelog +* Mon May 19 2008 crrodriguez@suse.de +- disable unusable static libraries + (there is no static libogg,libvorbis,flac,speex etc..) * Thu Apr 24 2008 prusnak@suse.cz - updated to 1.0.3 * check if Speex header has bogus data (CVE-2008-1686)