diff --git a/SDL2.spec b/SDL2.spec index 3db00b9..c32f153 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -1,8 +1,7 @@ Name: SDL2 Version: 2.0.14 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Cross-platform multimedia library - License: zlib and MIT URL: http://www.libsdl.org/ Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz @@ -62,6 +61,8 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Requires: mesa-libEGL-devel%{?_isa} Requires: mesa-libGLES-devel%{?_isa} Requires: libX11-devel%{?_isa} +# Needed to keep CMake happy +Requires: %{name}-static%{?_isa} = %{version}-%{release} %description devel Simple DirectMedia Layer (SDL) is a cross-platform multimedia library designed @@ -131,6 +132,9 @@ install -p -m 644 %{SOURCE1} %{buildroot}%{_includedir}/SDL2/SDL_config.h %{_libdir}/lib*.a %changelog +* Thu Aug 26 2021 Tom Callaway - 2.0.14-7 +- add -static Requires to -devel to make CMake stop failing on missing files (bz1965359) + * Thu Aug 26 2021 Neal Gompa - 2.0.14-6 - Switch to CMake to build SDL2 - Build JACK support unconditionally since PipeWire-JACK exists in RHEL 9