From 4e31fd74cae77984c7c50be75c7b543541ce4636 Mon Sep 17 00:00:00 2001 From: Felix Kaechele Date: May 22 2021 00:28:58 +0000 Subject: set CMAKE_BUILD_TYPE to Release (rhbz#1963215) Signed-off-by: Felix Kaechele --- 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