Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libunicode for openSUSE:Factory checked in at 2024-08-16 12:26:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libunicode (Old) and /work/SRC/openSUSE:Factory/.libunicode.new.2698 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libunicode" Fri Aug 16 12:26:08 2024 rev:3 rq:1194266 version:0.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libunicode/libunicode.changes 2024-07-25 15:48:03.524489578 +0200 +++ /work/SRC/openSUSE:Factory/.libunicode.new.2698/libunicode.changes 2024-08-16 12:26:09.145274801 +0200 @@ -1,0 +2,5 @@ +Fri Aug 9 09:42:03 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantari...@pm.me> + +- Add conditional build for leap with force gcc version + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libunicode.spec ++++++ --- /var/tmp/diff_new_pack.eso8fz/_old 2024-08-16 12:26:10.825344719 +0200 +++ /var/tmp/diff_new_pack.eso8fz/_new 2024-08-16 12:26:10.837345218 +0200 @@ -20,6 +20,7 @@ %define mayor 4 %define lname libunicode%{ver}_%{mayor} %define sover %{ver}.%{mayor} +%define force_gcc_version 13 Name: libunicode Version: 0.4.0 Release: 0 @@ -31,7 +32,12 @@ BuildRequires: ccache BuildRequires: cmake BuildRequires: fmt-devel -BuildRequires: gcc-c++ >= 8 +%if 0%{?suse_version} < 1600 +BuildRequires: gcc%{?force_gcc_version} +BuildRequires: gcc%{?force_gcc_version}-c++ +%else +BuildRequires: gcc-c++ +%endif BuildRequires: range-v3-devel BuildRequires: unicode-ucd BuildRequires: cmake(Catch2) >= 3.3.0 @@ -68,7 +74,15 @@ %autosetup -p1 %build -%cmake -DLIBUNICODE_UCD_DIR=%{_datadir}/unicode/ucd +%if 0%{?suse_version} < 1600 +export CC="gcc-%{?force_gcc_version}" +export CXX="g++-%{?force_gcc_version}" +%endif +%cmake \ +%if 0%{?suse_version} < 1600 + -DLIBUNICODE_TESTING=OFF \ +%endif + -DLIBUNICODE_UCD_DIR=%{_datadir}/unicode/ucd %cmake_build %install