diff --git a/parsec.changes b/parsec.changes index 9179233..0d35237 100644 --- a/parsec.changes +++ b/parsec.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 16 10:12:19 UTC 2024 - Max Lin + +- Fix build on Leap 15.6 + * installed the corresponding libstdc++-devel to avoid the -lstdc++ not found + ------------------------------------------------------------------- Thu Mar 28 15:23:19 UTC 2024 - Guillaume GARDET diff --git a/parsec.spec b/parsec.spec index 00ea268..a3e5e38 100644 --- a/parsec.spec +++ b/parsec.spec @@ -37,10 +37,16 @@ BuildRequires: cargo BuildRequires: clang-devel BuildRequires: cmake BuildRequires: llvm-devel -%if 0%{?sle_version} >= 150400 +%if 0%{?suse_version} == 1500 +%if 0%{?sle_version} >= 150400 && 0%{?sle_version} < 150600 # Fix build with GCC11 on Backports SLE15-SP4/5 - Avoid to get -lstdc++ not found BuildRequires: libstdc++6-devel-gcc12 %endif +%if 0%{?sle_version} >= 150600 +# Fix build with GCC13 on Backports SLE15-SP6 - Avoid to get -lstdc++ not found +BuildRequires: libstdc++6-devel-gcc13 +%endif +%endif BuildRequires: cargo-packaging BuildRequires: pkgconfig BuildRequires: protobuf-devel