From 7c5a9f24e7ba8bc94e9ef36cc2b647a34dc39807a9e5a5ee9209a1534224dfd4 Mon Sep 17 00:00:00 2001 From: Guillaume GARDET Date: Tue, 16 Apr 2024 12:01:17 +0000 Subject: [PATCH] Accepting request 1168001 from home:mlin7442:rebuild_fails_156 fix Leap 15 build OBS-URL: https://build.opensuse.org/request/show/1168001 OBS-URL: https://build.opensuse.org/package/show/security/parsec?expand=0&rev=54 --- parsec.changes | 6 ++++++ parsec.spec | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) 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