Fixed bug 4615 - RPM Build fails due to unpackaged files
authorSam Lantinga <slouken@libsdl.org>
Tue, 11 Jun 2019 19:58:10 -0700
changeset 128391b94a9e6746e
parent 12838 4a089aa4ff81
child 12840 1b6f67e84802
Fixed bug 4615 - RPM Build fails due to unpackaged files

devbeer

The current SDL2.spec fails to build with:

Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/build/rpmbuild/BUILDROOT/SDL2-2.0.9-2.x86_64
error: Installed (but unpackaged) file(s) found:
/usr/lib64/cmake/SDL2/sdl2-config.cmake


RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/lib64/cmake/SDL2/sdl2-config.cmake
SDL2.spec.in
     1.1 --- a/SDL2.spec.in	Tue Jun 11 18:13:46 2019 -0700
     1.2 +++ b/SDL2.spec.in	Tue Jun 11 19:58:10 2019 -0700
     1.3 @@ -74,7 +74,8 @@
     1.4  %{_libdir}/lib*.la
     1.5  %{_libdir}/lib*.%{__soext}
     1.6  %{_includedir}/*/*.h
     1.7 -%{_libdir}/pkgconfig/*
     1.8 +%{_libdir}/cmake/*
     1.9 +%{_libdir}/pkgconfig/SDL2/*
    1.10  %{_datadir}/aclocal/*
    1.11  
    1.12  %changelog