From 5f6befcc290c2ae9019ccb7d0ee398d0013b5df8 Mon Sep 17 00:00:00 2001 From: liuxinhao Date: Mon, 24 Apr 2023 12:47:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DDBus=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=AD=E5=AD=97=E6=AE=B5=E9=94=99=E8=AF=AF?= =?UTF-8?q?=EF=BC=8C=E5=AF=BC=E8=87=B4=E9=80=9A=E8=BF=87DBus=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E8=AE=A4=E8=AF=81=E6=9C=8D=E5=8A=A1=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E8=A2=AB=E6=AD=A3=E7=A1=AE=E6=8B=89=E8=B5=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...-Fix-the-DBus-Service-Exec-field-pro.patch | 27 +++++++++++++++++++ kiran-authentication-service.spec | 6 ++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 0004-fix-DBus-service-Fix-the-DBus-Service-Exec-field-pro.patch diff --git a/0004-fix-DBus-service-Fix-the-DBus-Service-Exec-field-pro.patch b/0004-fix-DBus-service-Fix-the-DBus-Service-Exec-field-pro.patch new file mode 100644 index 0000000..44eadd8 --- /dev/null +++ b/0004-fix-DBus-service-Fix-the-DBus-Service-Exec-field-pro.patch @@ -0,0 +1,27 @@ +From 537a766a4bb882cfa8bae9bdcc5c87ba48e7f550 Mon Sep 17 00:00:00 2001 +From: liuxinhao +Date: Mon, 24 Apr 2023 12:38:02 +0800 +Subject: [PATCH] fix(DBus service): Fix the DBus Service Exec field problem +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +- 修复DBus服务配置,Exec字段宏填写错误,导致不能正常拉起认证服务的问题 +--- + data/com.kylinsec.Kiran.Authentication.service.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/data/com.kylinsec.Kiran.Authentication.service.in b/data/com.kylinsec.Kiran.Authentication.service.in +index 683c943..278cacf 100644 +--- a/data/com.kylinsec.Kiran.Authentication.service.in ++++ b/data/com.kylinsec.Kiran.Authentication.service.in +@@ -1,5 +1,5 @@ + [D-BUS Service] + Name=com.kylinsec.Kiran.Authentication +-Exec=@INSTALL_BINDIR@/kiran-authentication-daemon ++Exec=@CMAKE_INSTALL_FULL_BINDIR@/kiran-authentication-daemon + User=root + SystemdService=kiran-authentication-daemon.service +-- +2.33.0 + diff --git a/kiran-authentication-service.spec b/kiran-authentication-service.spec index 57a95ab..7b4db7b 100644 --- a/kiran-authentication-service.spec +++ b/kiran-authentication-service.spec @@ -1,6 +1,6 @@ Name: kiran-authentication-service Version: 2.5.0 -Release: 4 +Release: 5 Summary: Kiran Desktop kiran authentication service License: MulanPSL-2.0 URL: http://www.kylinsec.com.cn @@ -10,6 +10,7 @@ Source0: %{name}-%{version}.tar.gz Patch0001: 0001-fix-translate-add-some-translation.patch Patch0002: 0002-fix-cmake-qt5-cmake-command-compatible.patch Patch0003: 0003-fix-compile-fix-compile-error-no-match-for-operator-.patch +Patch0004: 0004-fix-DBus-service-Fix-the-DBus-Service-Exec-field-pro.patch BuildRequires: systemd BuildRequires: systemd-devel @@ -78,6 +79,9 @@ make %{?_smp_mflags} V=1 %{_includedir}/kiran-authentication-service/kas-authentication-i.h %changelog +* Mon Apr 24 2023 liuxinaho - 2.5.0-5 +- KYOS-F: fix the DBus Service Exec field problem + * Sat Apr 22 2023 wangyucheng - 2.5.0-4 - KYOS-F: fix compile error: no match for ‘operator<<’ on gcc 7.3.0.