From 5cc63ff5f96a421af5dd02316bae2924d01c71832a268dfd7ffac3f076757bbb Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 7 Mar 2022 12:00:49 +0000 Subject: [PATCH] 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 --- sdl12_compat.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdl12_compat.spec b/sdl12_compat.spec index b032d4c..37cd795 100644 --- a/sdl12_compat.spec +++ b/sdl12_compat.spec @@ -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