diff --git a/rust1.68.changes b/rust1.68.changes index 8ea168c..98f7c91 100644 --- a/rust1.68.changes +++ b/rust1.68.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 26 05:09:50 UTC 2023 - William Brown + +- Disable fdupes on SLE/Leap due to incorrect debuginfo extraction + ------------------------------------------------------------------- Tue Mar 28 02:30:57 UTC 2023 - William Brown diff --git a/rust1.68.spec b/rust1.68.spec index b0629c2..1262dcb 100644 --- a/rust1.68.spec +++ b/rust1.68.spec @@ -260,7 +260,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 @@ -623,7 +626,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-