!31 sync by openEuler-22.03-LTS-SP3

From: @Venland 
Reviewed-by: @xzyangha 
Signed-off-by: @xzyangha
This commit is contained in:
openeuler-ci-bot 2024-06-19 06:47:01 +00:00 committed by Gitee
commit 52020e425b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,12 +1,8 @@
%global debug_package %{nil}
%define specrelease 1%{?dist}
%if 0%{?openeuler}
%define specrelease 1
%endif
Name: dde-introduction
Version: 5.6.13
Release: %{specrelease}
Release: 3
Summary: Introduction for UOS
License: GPLv3+
URL: https://github.com/linuxdeepin/%{name}
@ -42,6 +38,9 @@ effect and know more about UnionTech OS.
# disable dmr lib
sed -i 's/contains(TARGET_ARCH, x86_64)/contains(TARGET_ARCH, mips)/' introduction.pro
# fix strip
sed -i 's|gc-sections"|gc-sections -s"|' CMakeLists.txt
%build
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
export PATH=%{_qt5_bindir}:$PATH
@ -67,6 +66,12 @@ popd
%{_datadir}/%{name}/
%changelog
* Tue Nov 28 2023 liuzhilin <liuzhilin@uniontech.com> - 5.6.13-3
- remove unnecessary macro definitions
* Thu Mar 16 2023 liweiganga <liweiganga@uniontech.com> - 5.6.13-2
- feat: fix strip
* Mon Jul 18 2022 konglidong <konglidong@uniontech.com> - 5.6.13-1
- update version to 5.6.13