diff --git a/sdl12_compat.changes b/sdl12_compat.changes index 4ee428e..86c7e19 100644 --- a/sdl12_compat.changes +++ b/sdl12_compat.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Jun 15 12:12:01 UTC 2022 - Jan Engelhardt + +- Require x11 and xorgproto just like SDL-devel. + +------------------------------------------------------------------- +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..57771bf 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,10 @@ 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) +Requires: pkgconfig(x11) +Requires: pkgconfig(xproto) Conflicts: SDL-devel Provides: SDL-devel = %version-%release Provides: libSDL-devel = %version-%release