From e568e49622c10ea490a9ca151175d26385f77e5c Mon Sep 17 00:00:00 2001 From: songmingliang Date: Sat, 11 Oct 2025 13:48:25 +0800 Subject: [PATCH] spec: use marcor replace command and dir --- startdde.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/startdde.spec b/startdde.spec index f5b530a..8c08497 100644 --- a/startdde.spec +++ b/startdde.spec @@ -1,7 +1,7 @@ %global _missing_build_ids_terminate_build 0 %global debug_package %{nil} -%define specrelease 4 +%define specrelease 5 Name: startdde Version: 5.9.61 @@ -47,7 +47,7 @@ Recommends: dde-qt5integration %prep %setup -n %{name}-%{version} -sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' \ +%{__sed} -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' \ misc/auto_launch/chinese.json misc/auto_launch/default.json patch main.go < rpm/main.go.patch @@ -58,7 +58,7 @@ patch main.go < rpm/main.go.patch %patch4 -p1 %patch5 -p1 -tar -xf %{SOURCE1} +%{__tar} -xf %{SOURCE1} %build %ifarch loongarch64 @@ -68,7 +68,7 @@ export CGO_ENABLE=1 export GOPATH=%{_datadir}/gocode:%{_builddir}/%{name}-%{version}/vendor:$GOPATH ## Scripts in /etc/X11/Xsession.d are not executed after xorg start -sed -i 's|X11/Xsession.d|X11/xinit/xinitrc.d|g' Makefile +%{__sed} -i 's|X11/Xsession.d|X11/xinit/xinitrc.d|g' Makefile %make_build GO_BUILD_FLAGS='-trimpath -ldflags "-s" -buildmode=pie' @@ -108,6 +108,9 @@ fi %{_datadir}/dsg/configs/org.deepin.startdde/ %changelog +* Sat Oct 11 2025 songmingliang - 5.9.61-5 +- spec: use marcor replace command and dir + * Thu Sep 25 2025 wangqia - 5.9.61-4 - spec: update license -- Gitee