From 4221a2c942f822d034e36d0387ea0af9668a196d671d73605be859a75e1f1db3 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 15 Jun 2022 12:11:31 +0000 Subject: [PATCH] Accepting request 982771 from home:dimstar:Factory - Depend on the actual libSDL2 library which is being dlopen()'ed. - Require pkgconfig(gl) and pkgconfig)glu) from the devel package, as our headers include GL/gl.h and GL/glu.h (boo#1200562). OBS-URL: https://build.opensuse.org/request/show/982771 OBS-URL: https://build.opensuse.org/package/show/games/sdl12_compat?expand=0&rev=12 --- sdl12_compat.changes | 7 +++++++ sdl12_compat.spec | 3 +++ 2 files changed, 10 insertions(+) diff --git a/sdl12_compat.changes b/sdl12_compat.changes index 4ee428e..0b3a085 100644 --- a/sdl12_compat.changes +++ b/sdl12_compat.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jun 15 10:57:30 UTC 2022 - Dominique Leuenberger + +- Depend on the actual libSDL2 library which is being dlopen()'ed. +- Require pkgconfig(gl) and pkgconfig)glu) from the devel package, + as our headers include GL/gl.h and GL/glu.h (boo#1200562). + ------------------------------------------------------------------- Tue May 17 07:44:55 UTC 2022 - Jan Engelhardt diff --git a/sdl12_compat.spec b/sdl12_compat.spec index f3ee281..d8f4064 100644 --- a/sdl12_compat.spec +++ b/sdl12_compat.spec @@ -43,6 +43,7 @@ against SDL 1.2, but it uses SDL 2.0 behind the scenes. Summary: SDL Graphics Routines for Primitives and Other Support Functions Group: System/Libraries Conflicts: libSDL-1_2-0 +%requires_eq %(rpm --qf "%%{name}" -qf $(readlink -f %{_libdir}/libSDL2.so)) %description -n %lname This is the "Simple DirectMedia Layer" library built from sdl12_compat. @@ -53,6 +54,8 @@ against SDL 1.2, but it uses SDL 2.0 behind the scenes. Summary: Libraries, includes and more to develop SDL-1.2 applications Group: Development/Libraries/X11 Requires: %lname = %version +Requires: pkgconfig(gl) +Requires: pkgconfig(glu) Conflicts: SDL-devel Provides: SDL-devel = %version-%release Provides: libSDL-devel = %version-%release