diff --git a/mingw-SDL2.spec b/mingw-SDL2.spec index 7043f15..0a05785 100644 --- a/mingw-SDL2.spec +++ b/mingw-SDL2.spec @@ -2,7 +2,7 @@ Name: mingw-SDL2 Version: 2.0.22 -Release: 1%{?dist} +Release: 2%{?dist} Summary: MinGW Windows port of SDL2 cross-platform multimedia library License: LGPLv2+ @@ -101,6 +101,7 @@ device. %{mingw32_libdir}/libSDL2.dll.a %{mingw32_libdir}/libSDL2main.a %{mingw32_libdir}/cmake/SDL2/ +%exclude %{mingw32_libdir}/cmake/SDL2/*static* %{mingw32_libdir}/pkgconfig/sdl2.pc %{mingw32_datadir}/aclocal/sdl2.m4 %{mingw32_includedir}/SDL2 @@ -108,6 +109,7 @@ device. # Win32 (static) %files -n mingw32-SDL2-static %{mingw32_libdir}/libSDL2.a +%{mingw32_libdir}/cmake/SDL2/*static* # Win64 %files -n mingw64-SDL2 @@ -117,6 +119,7 @@ device. %{mingw64_libdir}/libSDL2.dll.a %{mingw64_libdir}/libSDL2main.a %{mingw64_libdir}/cmake/SDL2/ +%exclude %{mingw64_libdir}/cmake/SDL2/*static* %{mingw64_libdir}/pkgconfig/sdl2.pc %{mingw64_datadir}/aclocal/sdl2.m4 %{mingw64_includedir}/SDL2 @@ -124,9 +127,13 @@ device. # Win64 (static) %files -n mingw64-SDL2-static %{mingw64_libdir}/libSDL2.a +%{mingw64_libdir}/cmake/SDL2/*static* %changelog +* Thu Jun 23 2022 Sandro Mani - 2.0.22-2 +- Fix packaging static cmake config + * Sat Apr 30 2022 Neal Gompa - 2.0.22-1 - Update to 2.0.22