!9 fix version of kylin-usb-creator

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

View File

@ -0,0 +1,25 @@
From 348c4985246d76f762c3d9a96a3b961a53730518 Mon Sep 17 00:00:00 2001
From: peijiankang <peijiankang@kylinos.cn>
Date: Wed, 22 Mar 2023 14:16:27 +0800
Subject: [PATCH] fix version of kylin-usb-creator
---
UIControl/src/include/menumodule.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/UIControl/src/include/menumodule.h b/UIControl/src/include/menumodule.h
index ca42c31..d9deeb2 100644
--- a/UIControl/src/include/menumodule.h
+++ b/UIControl/src/include/menumodule.h
@@ -56,7 +56,7 @@ public:
public:
// 程序在实例化的时候需要传递的信息字段,打开debug开关后这些字段会被自动填充
QString appName = "tools/kylin-usb-creator"; //格式kylin-usb-creator
- QString appVersion = "1.1.0";
+ QString appVersion = "1.1.1";
QString appDesc = "appDesc字段未填充!";
QString iconPath = ":/data/kylin-usb-creator.svg";
QString confPath = "org.kylin-usb-creator-data.settings";
--
2.39.1

View File

@ -1,10 +1,11 @@
Name: kylin-usb-creator
Version: 1.1.1
Release: 2
Release: 3
Summary: kylin-usb-creator
License: GPL-3+
URL: http://www.ukui.org
Source0: %{name}-%{version}.tar.gz
Patch01: 0001-fix-version-of-kylin-usb-creator.patch
BuildRequires: qt5-qttools-devel
BuildRequires: qt5-qtscript-devel
@ -22,6 +23,7 @@ BuildRequires: polkit-qt5-1-devel
%prep
%setup -q
%patch01 -p1
%build
%{qmake_qt5} %{_qt5_qmake_flags} CONFIG+=enable-by-default kylin-usb-creator.pro
@ -56,6 +58,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Mar 22 2023 peijiankang <peijiankang@kylinos.cn> - 1.1.1-3
- fix version of kylin-usb-creator
* Tue Feb 07 2023 peijiankang <peijiankang@kylinos.cn> - 1.1.1-2
- add build debuginfo and debugsource