SHA256
1
0
forked from pool/SDL2

- Rename devel package to just %name-devel, which is what most

openSUSE packages use.

OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=118
This commit is contained in:
Jan Engelhardt 2022-04-02 08:36:00 +00:00 committed by Git OBS Bridge
parent 15bef7a467
commit e3da433e8d
3 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 30 18:46:17 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Rename devel package to just %name-devel, which is what most
openSUSE packages use.
-------------------------------------------------------------------
Sun Jan 16 12:27:09 UTC 2022 - Carsten Ziepke <kieltux@gmail.com>

View File

@ -87,7 +87,7 @@ This is the "Simple DirectMedia Layer" library. It provides a generic
API for access to audio, keyboard, mouse, and display framebuffer
across multiple platforms.
%package -n libSDL2-devel
%package devel
Summary: SDL2 Library Developer Files
Group: Development/Libraries/X11
Requires: %lname = %version
@ -99,9 +99,10 @@ Requires: pkgconfig(glesv2)
Requires: pkgconfig(glu)
Requires: pkgconfig(x11)
Requires: pkgconfig(xproto)
Provides: SDL2-devel = %version-%release
Provides: libSDL2-devel = %version-%release
Obsoletes: libSDL2-devel < %version-%release
%description -n libSDL2-devel
%description devel
This package contains files needed for development with the SDL2
library.
@ -141,7 +142,7 @@ rm -fv "%buildroot/%_libdir/libSDL2.a" "%buildroot/%_libdir/libSDL2_test.a"
%doc README.md README-SDL.txt
%_libdir/libSDL2-2*.so.*
%files -n libSDL2-devel
%files devel
%doc WhatsNew.txt
%_bindir/sdl2-config
%_libdir/libSDL2.so

View File

@ -1,6 +1,7 @@
libSDL2-2_0-0
provides "SDL2-<targettype> = <version>"
libSDL2-devel
provides "SDL2-devel-<targettype> = <version>"
SDL2-devel
provides "libSDL2-devel-<targettype> = <version>"
obsoletes "libSDL2-devel-<targettype> < <version>"
requires -libSDL2-<targettype>
requires "libSDL2-2_0-0-<targettype> = <version>"