Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fixmath for openSUSE:Factory checked in at 2022-09-20 19:23:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fixmath (Old) and /work/SRC/openSUSE:Factory/.fixmath.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fixmath" Tue Sep 20 19:23:15 2022 rev:2 rq:1004673 version:2022.07.20 Changes: -------- --- /work/SRC/openSUSE:Factory/fixmath/fixmath.changes 2022-09-07 11:06:54.520539520 +0200 +++ /work/SRC/openSUSE:Factory/.fixmath.new.2083/fixmath.changes 2022-09-20 19:23:19.730430189 +0200 @@ -1,0 +2,5 @@ +Thu Sep 15 10:09:53 UTC 2022 - Danilo Spinella <[email protected]> + +- Fix build on SLE-12-SP5 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fixmath.spec ++++++ --- /var/tmp/diff_new_pack.uTEuZl/_old 2022-09-20 19:23:20.234431635 +0200 +++ /var/tmp/diff_new_pack.uTEuZl/_new 2022-09-20 19:23:20.238431646 +0200 @@ -1,7 +1,7 @@ # # spec file for package fixmath # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,14 +24,13 @@ License: MIT URL: https://github.com/PetteriAimonen/libfixmath Source0: %{url}/archive/refs/heads/master.tar.gz#:/%{name}-%{version}.tar.gz +BuildRequires: gcc-c++ # Use cmake3 package on SLE12 because cmake is too old (version 3.5) %if !0%{?is_opensuse} && 0%{?sle_version} < 150000 -BuildRequires: cmake3-full >= 3.14 +BuildRequires: cmake3-full >= 3.13 # Requires C++17 -BuildRequires: gcc11-c++ %else -BuildRequires: cmake >= 3.14 -BuildRequires: gcc-c++ +BuildRequires: cmake >= 3.13 %endif %description @@ -50,14 +49,14 @@ %autosetup -n lib%{name}-master %build +# Fix lto-no-text-in-archive rpmlint error export CFLAGS="${CFLAGS} -ffat-lto-objects" export CXXFLAGS="${CXXFLAGS} -ffat-lto-objects" -# Use g++-11 to build a C++17 codebase -%cmake \ %if !0%{?is_opensuse} && 0%{?sle_version} < 150000 - -DCMAKE_CXX_COMPILER=/usr/bin/g++-11 \ +# Remove -fsanitize=undefined opts in SLE-12-SP5 +sed -e '/set(sanitizer_opts/d' -i tests/tests.cmake %endif - ; +%cmake %cmake_build %install
