add -static Requires to -devel to make CMake stop failing on missing files (bz1965359)
Resolves: rhbz#1989083
This commit is contained in:
parent
c087e4e7e8
commit
7e4a331aff
@ -1,8 +1,7 @@
|
|||||||
Name: SDL2
|
Name: SDL2
|
||||||
Version: 2.0.14
|
Version: 2.0.14
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Cross-platform multimedia library
|
Summary: Cross-platform multimedia library
|
||||||
|
|
||||||
License: zlib and MIT
|
License: zlib and MIT
|
||||||
URL: http://www.libsdl.org/
|
URL: http://www.libsdl.org/
|
||||||
Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
|
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-libEGL-devel%{?_isa}
|
||||||
Requires: mesa-libGLES-devel%{?_isa}
|
Requires: mesa-libGLES-devel%{?_isa}
|
||||||
Requires: libX11-devel%{?_isa}
|
Requires: libX11-devel%{?_isa}
|
||||||
|
# Needed to keep CMake happy
|
||||||
|
Requires: %{name}-static%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Simple DirectMedia Layer (SDL) is a cross-platform multimedia library designed
|
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
|
%{_libdir}/lib*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 26 2021 Tom Callaway <spot@fedoraproject.org> - 2.0.14-7
|
||||||
|
- add -static Requires to -devel to make CMake stop failing on missing files (bz1965359)
|
||||||
|
|
||||||
* Thu Aug 26 2021 Neal Gompa <ngompa13@gmail.com> - 2.0.14-6
|
* Thu Aug 26 2021 Neal Gompa <ngompa13@gmail.com> - 2.0.14-6
|
||||||
- Switch to CMake to build SDL2
|
- Switch to CMake to build SDL2
|
||||||
- Build JACK support unconditionally since PipeWire-JACK exists in RHEL 9
|
- Build JACK support unconditionally since PipeWire-JACK exists in RHEL 9
|
||||||
|
Loading…
Reference in New Issue
Block a user