diff --git a/openttd.spec b/openttd.spec index c62a4a7..116785c 100644 --- a/openttd.spec +++ b/openttd.spec @@ -7,7 +7,7 @@ Name: openttd Version: 1.11.2 -Release: 2%{?prever:.%{prever}}%{?dist} +Release: 3%{?prever:.%{prever}}%{?dist} Summary: Transport system simulation game License: GPLv2+ @@ -54,7 +54,12 @@ the AI. sed -i "s|/usr/share|%{_datadir}|g" src/music/fluidsynth.cpp %build -%cmake -DGLOBAL_DIR:PATH=%{_datadir}/%{name} -DCMAKE_INSTALL_BINDIR=bin -DCMAKE_INSTALL_DATADIR=%{_datadir} +%cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_BINDIR=bin \ + -DCMAKE_INSTALL_DATADIR=%{_datadir} \ + -DGLOBAL_DIR:PATH=%{_datadir}/%{name} + %cmake_build %install @@ -134,6 +139,9 @@ EOF %changelog +* Sat May 22 2021 Felix Kaechele - 1.11.2-3 +- set CMAKE_BUILD_TYPE to Release (rhbz#1963215) + * Thu May 20 2021 Pete Walter - 1.11.2-2 - Rebuild for ICU 69