diff --git a/SDL2_image.changes b/SDL2_image.changes index 972237f..9691aa0 100644 --- a/SDL2_image.changes +++ b/SDL2_image.changes @@ -14,6 +14,9 @@ Fri Jul 8 20:20:20 UTC 2022 - Jan Engelhardt * LoadBMP() now loads files using SDL2 * Allow using libwebpdecoder instead libwebp - Remove CVE-2019-13616.patch (merged) +- Rename -devel subpackage based on SRPM name +- Drop baselibs.conf (no SDL2_ttf-dependent Tumbleweed packages + themselves have baselibs). ------------------------------------------------------------------- Fri Aug 23 14:04:59 UTC 2019 - Michael Gorse diff --git a/SDL2_image.spec b/SDL2_image.spec index 720413f..a6a27aa 100644 --- a/SDL2_image.spec +++ b/SDL2_image.spec @@ -27,7 +27,6 @@ URL: https://libsdl.org/projects/SDL_image/ #Hg-Clone: http://hg.libsdl.org/SDL_image/ Source: https://github.com/libsdl-org/SDL_image/releases/download/release-%version/SDL2_image-%version.tar.gz -Source2: baselibs.conf BuildRequires: dos2unix BuildRequires: libjpeg-devel BuildRequires: libtiff-devel @@ -51,13 +50,14 @@ This is a simple library to load images of various formats as SDL surfaces. This library supports the BMP, PPM, PCX, GIF, JPEG, PNG, TIFF and WEBP formats. -%package -n libSDL2_image-devel +%package devel Summary: Development files for the SDL2 image loader library Group: Development/Libraries/X11 Requires: %lname = %version -Provides: SDL2_image-devel = %version-%release +Obsoletes: libSDL2_image-devel < %version-%release +Provides: libSDL2_image-devel = %version-%release -%description -n libSDL2_image-devel +%description devel This is a simple library to load images of various formats as SDL surfaces. This library supports the BMP, PPM, PCX, GIF, JPEG, PNG, TIFF and WEBP formats. @@ -85,7 +85,7 @@ rm -f "%buildroot/%_libdir"/*.la %license LICENSE.txt %_libdir/libSDL2_image-2*.so.* -%files -n libSDL2_image-devel +%files devel %doc CHANGES.txt README.txt %_includedir/SDL2/ %_libdir/libSDL2_image.so diff --git a/baselibs.conf b/baselibs.conf deleted file mode 100644 index 9fb02b1..0000000 --- a/baselibs.conf +++ /dev/null @@ -1,6 +0,0 @@ -libSDL2_image-2_0-0 - provides "SDL2_image- = " - obsoletes "SDL2_image- <= " -libSDL2_image-devel - requires -libSDL2_image- - requires "libSDL2_image-2_0-0- = "