From 9aefeb21b80a06191dff1e99c5af339cb2815835 Mon Sep 17 00:00:00 2001 From: yangxianzhao Date: Mon, 9 Oct 2023 11:24:18 +0800 Subject: [PATCH] fix build error --- deepin-editor.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/deepin-editor.spec b/deepin-editor.spec index af618fb..a4c966f 100644 --- a/deepin-editor.spec +++ b/deepin-editor.spec @@ -1,8 +1,10 @@ %global debug_package %{nil} +%define anolis_release 1 +%{!?_vpath_builddir:%global _vpath_builddir %{_target_platform}} Name: deepin-editor Version: 6.0.6 -Release: 1%{?dist} +Release: 1.%{anolis_release}%{?dist} Summary: Simple editor for Linux Deepin License: GPLv3 URL: https://github.com/linuxdeepin/deepin-editor @@ -54,11 +56,11 @@ export PATH=%{_qt5_bindir}:$PATH sed -i "s|^cmake_minimum_required.*|cmake_minimum_required(VERSION 3.0)|" $(find . -name "CMakeLists.txt") mkdir build && pushd build %cmake -DCMAKE_BUILD_TYPE=Release -DAPP_VERSION=%{version} -DVERSION=%{version} ../ -%make_build +%make_build -C %{_vpath_builddir} popd %install -%make_install -C build INSTALL_ROOT="%buildroot" +%make_install -C build/%{_vpath_builddir} INSTALL_ROOT="%buildroot" # %check # desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||: @@ -74,6 +76,9 @@ popd %{_datadir}/dsg/configs/org.deepin.editor/org.deepin.editor.json %changelog +* Mon Oct 09 2023 yangxianzhao - 6.0.6-1.1 +- fix build error + * Wed Apr 19 2023 liweiganga - 6.0.6-1 - update: update to 6.0.6(support GB18030) -- Gitee