From 3d9b542bfe613efc0d3565f4e663d3a475aba3d6 Mon Sep 17 00:00:00 2001 From: Tom spot Callaway Date: Thu, 3 Jun 2021 12:00:04 -0400 Subject: [PATCH] add -static Requires to -devel to make CMake stop failing on missing files (bz1965359) --- SDL2.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/SDL2.spec b/SDL2.spec index 319a588..ad37ba9 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -1,8 +1,7 @@ Name: SDL2 Version: 2.0.14 -Release: 4%{?dist} +Release: 5%{?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 Jun 3 2021 Tom Callaway - 2.0.14-5 +- add -static Requires to -devel to make CMake stop failing on missing files (bz1965359) + * Mon May 17 2021 Neal Gompa - 2.0.14-4 - Switch to CMake to build SDL2 - Build JACK support unconditionally since PipeWire-JACK exists in RHEL 9