Delete static lib. If SDL need not provide it, neither does sdl12_compat.

OBS-URL: https://build.opensuse.org/package/show/games/sdl12_compat?expand=0&rev=4
This commit is contained in:
Jan Engelhardt 2022-03-07 12:00:49 +00:00 committed by Git OBS Bridge
parent c6dd6e4cfb
commit 5cc63ff5f9

View File

@ -72,6 +72,7 @@ library.
%cmake_install
b="%buildroot"
ln -s sdl12_compat.pc "$b/%_libdir/pkgconfig/sdl.pc"
rm -v "$b/%_libdir"/*.a
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
@ -85,7 +86,6 @@ ln -s sdl12_compat.pc "$b/%_libdir/pkgconfig/sdl.pc"
%_includedir/SDL/
%_datadir/aclocal/
%_libdir/pkgconfig/*.pc
%_libdir/libSDLmain.a
%_libdir/libSDL*so
%changelog