2.30.2, fix build for fheroes2

This commit is contained in:
Alexander Stefanov 2024-04-14 12:18:49 +00:00
parent 3cb875960d
commit e52a5770c2
2 changed files with 2 additions and 5 deletions

View file

@ -1,2 +1,2 @@
sources: sources:
SDL2-2.30.1.tar.gz: 9d502c495f3aa2d15446376e835a5e561ac32897 SDL2-2.30.2.tar.gz: 37a0557fc39460dc2a4fbbf162d95f115d2c9be2

View file

@ -7,13 +7,12 @@
Summary: Simple DirectMedia Layer Summary: Simple DirectMedia Layer
Name: SDL2 Name: SDL2
Version: 2.30.1 Version: 2.30.2
Release: 1 Release: 1
License: Zlib License: Zlib
Group: System/Libraries Group: System/Libraries
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
Source1: FindSDL2.cmake
# Keep major stable, should be 0 # Keep major stable, should be 0
Patch1: SDL2-2.0.16-soversion.patch Patch1: SDL2-2.0.16-soversion.patch
BuildRequires: cmake BuildRequires: cmake
@ -86,7 +85,6 @@ applications which will use %{name}.
%license LICENSE.txt %license LICENSE.txt
%{_bindir}/sdl2-config %{_bindir}/sdl2-config
%{_datadir}/aclocal/sdl2.m4 %{_datadir}/aclocal/sdl2.m4
%{_datadir}/cmake/Modules/Find%{name}.cmake
%{_includedir}/%{name} %{_includedir}/%{name}
%{_libdir}/cmake/%{name} %{_libdir}/cmake/%{name}
%{_libdir}/lib%{name}*.a %{_libdir}/lib%{name}*.a
@ -115,6 +113,5 @@ applications which will use %{name}.
%install %install
%make_install -C build %make_install -C build
install -m644 %{SOURCE1} -D %{buildroot}%{_datadir}/cmake/Modules/Find%{name}.cmake
rm -rf %{buildroot}%{_datadir}/licenses rm -rf %{buildroot}%{_datadir}/licenses