SHA256
1
0
forked from pool/rust1.67

Accepting request 1082883 from devel:languages:rust

OBS-URL: https://build.opensuse.org/request/show/1082883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust1.67?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2023-04-27 17:58:02 +00:00 committed by Git OBS Bridge
commit 35eb1b6160
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 26 04:15:15 UTC 2023 - William Brown <william.brown@suse.com>
- Disable fdupes on SLE/Leap due to incorrect debuginfo extraction
-------------------------------------------------------------------
Mon Feb 13 03:36:54 UTC 2023 - William Brown <william.brown@suse.com>

View File

@ -256,7 +256,10 @@ Patch0: ignore-Wstring-conversion.patch
BuildRequires: chrpath
BuildRequires: curl
# BUG - fdupes on leap/sle causes issues with debug info
%if 0%{?is_opensuse} == 1 && 0%{?suse_version} >= 1550
BuildRequires: fdupes
%endif
BuildRequires: pkgconfig
BuildRequires: procps
BuildRequires: python3-base
@ -619,7 +622,9 @@ if [ ! -f %{buildroot}%{_libexecdir}/rust-analyzer-proc-macro-srv ] &&
fi
# Silence any duplicate library warnings.
%if 0%{?is_opensuse} == 1 && 0%{?suse_version} >= 1550
%fdupes %{buildroot}/%{common_libdir}
%endif
# Ugly hack to get brp-15-strip-debug call llvm-strip, which is wasm-aware, as system-strip will break wasm-files (same for ar/ranlib)
export CROSS_COMPILE=llvm-