SHA256
1
0
forked from pool/parsec

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
This commit is contained in:
Guillaume GARDET 2024-04-16 12:01:17 +00:00 committed by Git OBS Bridge
parent 6315b79444
commit 7c5a9f24e7
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 16 10:12:19 UTC 2024 - Max Lin <mlin@suse.com>
- 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 <guillaume.gardet@opensuse.org>

View File

@ -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