Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package lapce for openSUSE:Factory checked in at 2024-06-27 16:02:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lapce (Old)
and /work/SRC/openSUSE:Factory/.lapce.new.18349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lapce"
Thu Jun 27 16:02:59 2024 rev:20 rq:1183473 version:0.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/lapce/lapce.changes 2024-06-25 23:10:28.544863403 +0200
+++ /work/SRC/openSUSE:Factory/.lapce.new.18349/lapce.changes 2024-06-27 16:04:00.740176416 +0200
@@ -1,0 +2,5 @@
+Tue Jun 25 22:54:19 UTC 2024 - Gordon Leung
+
+- Use mold to link for faster compilation
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lapce.spec ++++++
--- /var/tmp/diff_new_pack.kq6Bix/_old 2024-06-27 16:04:03.836290165 +0200
+++ /var/tmp/diff_new_pack.kq6Bix/_new 2024-06-27 16:04:03.848290606 +0200
@@ -28,6 +28,8 @@
%if 0%{?suse_version} > 1600
BuildRequires: c++_compiler
BuildRequires: c_compiler
+BuildRequires: clang
+BuildRequires: mold
%else
BuildRequires: gcc13
BuildRequires: gcc13-c++
@@ -68,8 +70,14 @@
%if 0%{?suse_version} <= 1600
export CC=gcc-13
export CXX=g++-13
-%endif
%{cargo_build} --no-default-features -p lapce-app --features all-languages
+%else
+unset LIBSSH2_SYS_USE_PKG_CONFIG
+export RUSTFLAGS="-C linker=clang -C link-arg=-fuse-ld=/usr/bin/mold -C debuginfo=2 -C incremental=false -C strip=none"
+export CARGO_AUDITABLE=auditable
+export CARGO_FEATURE_VENDORED=1
+cargo build --no-default-features -p lapce-app --features all-languages --offline --release
+%endif
%install
install -Dm 0755 %{_builddir}/%{name}-%{version}/target/release/%{name} %{buildroot}%{_bindir}/%{name}