!16 fix version of youker-assistant is debugsource

From: @peijiankang 
Reviewed-by: @tanyulong2021 
Signed-off-by: @tanyulong2021
This commit is contained in:
openeuler-ci-bot 2023-03-22 07:58:54 +00:00 committed by Gitee
commit 0b5809a4a1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 2 deletions

View File

@ -17,7 +17,7 @@ index 911f56b..21061a4 100644
QStringList options; QStringList options;
- options << "-l" << "|" << "grep" << "youker-assistant"; - options << "-l" << "|" << "grep" << "youker-assistant";
- proc.start("dpkg", options); - proc.start("dpkg", options);
+ options << "-qa" << "|" << "grep" << "youker-assistant"; + options << "-q" << "youker-assistant";
+ proc.start("rpm", options); + proc.start("rpm", options);
proc.waitForFinished(); proc.waitForFinished();
QString dpkgInfo = proc.readAll(); QString dpkgInfo = proc.readAll();

View File

@ -1,6 +1,6 @@
Name: youker-assistant Name: youker-assistant
Version: 3.0.4 Version: 3.0.4
Release: 2 Release: 3
Summary: youker-assistant Summary: youker-assistant
License: GPL-2+ and GPL-3 License: GPL-2+ and GPL-3
URL: https://github.com/UbuntuKylin/youker-assistant URL: https://github.com/UbuntuKylin/youker-assistant
@ -79,6 +79,9 @@ cp -r %{_builddir}/%{name}-%{version}/data/toolkit %{buildroot}/usr/share/kylin-
%{_datadir}/kylin-user-guide/data/guide %{_datadir}/kylin-user-guide/data/guide
%changelog %changelog
* Wed Mar 22 2023 peijiankang <peijiankang@kylinos.cn> - 3.0.4-3
- fix version of youker-assistant is debugsource
* Fri Dec 09 2022 wangyueliang <wangyueliang@kylinos.cn> - 3.0.4-2 * Fri Dec 09 2022 wangyueliang <wangyueliang@kylinos.cn> - 3.0.4-2
- Fix unsafe compile option STRIP - Fix unsafe compile option STRIP