From 39733dc6b9f9f82ef3201b348ccc118031adc689 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 11 Jun 2019 19:58:10 -0700 Subject: [PATCH] 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SDL2.spec.in b/SDL2.spec.in index dba240037..eee5e5d83 100644 --- a/SDL2.spec.in +++ b/SDL2.spec.in @@ -74,7 +74,8 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/lib*.la %{_libdir}/lib*.%{__soext} %{_includedir}/*/*.h -%{_libdir}/pkgconfig/* +%{_libdir}/cmake/* +%{_libdir}/pkgconfig/SDL2/* %{_datadir}/aclocal/* %changelog