diff --git a/SDL2.spec b/SDL2.spec index 9008eca..c7ebc7e 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -130,7 +130,7 @@ perl -i -pe 's{\r\n}{\n}g' *.txt README.md %install %make_install rm -f "%buildroot/%_libdir"/*.la -rm -fv "%buildroot/%_libdir/libSDL2.a" "%buildroot/%_libdir/libSDL2_test.a" +rm -fv "%buildroot/%_libdir/libSDL2.a" # Need to keep libSDL2main.a (empty lib), because it is referenced by # sdl2-config.cmake, and it seems like that .cmake file cannot be edited to # make SDL2::SDL2main a phony target with no file (just leads to more Makefile @@ -153,5 +153,6 @@ rm -fv "%buildroot/%_libdir/libSDL2.a" "%buildroot/%_libdir/libSDL2_test.a" %_libdir/pkgconfig/sdl2.pc %_libdir/cmake/SDL2/ %_libdir/libSDL2main.a +%_libdir/libSDL2_test.a %changelog