From: Jakub Bogusz Date: Sat, 12 Dec 2020 09:48:17 +0000 (+0100) Subject: - disable UBSAN in non-debug builds; release 2 X-Git-Tag: auto/th/game-music-emu-0.6.3-2 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=fc7318ebfd3b36c5d8346071289459ae46f00383;p=packages%2Fgame-music-emu.git - disable UBSAN in non-debug builds; release 2 --- diff --git a/game-music-emu.spec b/game-music-emu.spec index a535298..2238e3e 100644 --- a/game-music-emu.spec +++ b/game-music-emu.spec @@ -2,7 +2,7 @@ Summary: Collection of video game music file emulators Summary(pl.UTF-8): Zbiór emulatorów do odtwarzania muzyki z gier Name: game-music-emu Version: 0.6.3 -Release: 1 +Release: 2 License: LGPL v2.1+ Group: Libraries #Source0Download: https://bitbucket.org/mpyne/game-music-emu/downloads @@ -11,7 +11,7 @@ Source0: https://bitbucket.org/mpyne/game-music-emu/downloads/%{name}-%{version} URL: https://bitbucket.org/mpyne/game-music-emu/wiki/Home BuildRequires: cmake >= 2.6 BuildRequires: libstdc++-devel -BuildRequires: libubsan-devel +%{?debug:BuildRequires: libubsan-devel} BuildRequires: rpmbuild(macros) >= 1.605 BuildRequires: tar >= 1:1.22 BuildRequires: xz @@ -70,7 +70,8 @@ wykorzystujących bibliotekę game-music-emu. %build install -d build cd build -%cmake .. +%cmake .. \ + %{!?debug:-DENABLE_UBSAN=OFF} %{__make}