]> git.pld-linux.org Git - packages/game-music-emu.git/commitdiff
- disable UBSAN in non-debug builds; release 2 auto/th/game-music-emu-0.6.3-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 12 Dec 2020 09:48:17 +0000 (10:48 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 12 Dec 2020 09:48:17 +0000 (10:48 +0100)
game-music-emu.spec

index a535298daaf66cbcf2a70fadafb1894b1b37ff10..2238e3e54e9da3b61f95188420435211c9e57002 100644 (file)
@@ -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}
 
This page took 0.069251 seconds and 4 git commands to generate.