From 0812b00db6c61ecdd01064e85264b2892d048f47 Mon Sep 17 00:00:00 2001 From: yangxianzhao Date: Wed, 1 Nov 2023 17:24:49 +0800 Subject: [PATCH] fix build error --- dde-control-center.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/dde-control-center.spec b/dde-control-center.spec index 24ad00a..5c57f76 100644 --- a/dde-control-center.spec +++ b/dde-control-center.spec @@ -1,6 +1,8 @@ +%define anolis_release 1 +%{!?_vpath_builddir:%global _vpath_builddir %{_target_platform}} Name: dde-control-center Version: 5.5.182 -Release: 9%{?dist} +Release: 9.%{anolis_release}%{?dist} Summary: New control center for Linux Deepin License: GPLv3 URL: https://github.com/linuxdeepin/%{name} @@ -101,7 +103,7 @@ sed -i -E '/add_compile_definitions/d' CMakeLists.txt -DCVERSION=%{version} \ -DDISABLE_SYS_UPDATE=YES \ -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} -%make_build +%make_build -C %{_vpath_builddir} %post ## create-cracklib-dict /usr/share/dict/MainEnglishDictionary_ProbWL.txt @@ -112,7 +114,7 @@ sed -i -E '/add_compile_definitions/d' CMakeLists.txt ## fi %install -%make_install INSTALL_ROOT=%{buildroot} +%make_install INSTALL_ROOT=%{buildroot} -C %{_vpath_builddir} # place holder plugins dir mkdir -p %{buildroot}%{_libdir}/%{name}/plugins # https://github.com/linuxdeepin/dde-control-center/issues/115 @@ -144,6 +146,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||: %{_libdir}/cmake/DdeControlCenter/ %changelog +* Wed Nov 01 2023 yangxianzhao - 5.5.182.4-9.1 +- fix build error + * Sun Apr 23 2023 liweiganga - 5.5.182.4-9 - feat: 控制中心root用户无法修改其他用户的密码(bugid:191003) -- Gitee