diff --git a/0002-fix-build-compile-error.patch b/0002-fix-build-compile-error.patch new file mode 100644 index 0000000..896f626 --- /dev/null +++ b/0002-fix-build-compile-error.patch @@ -0,0 +1,24 @@ +From 6f41615756a3793420918265fba01148eab4b42b Mon Sep 17 00:00:00 2001 +From: tanyulong2021 +Date: Fri, 10 Feb 2023 09:56:04 +0800 +Subject: [PATCH] fix build compile error + +--- + BiometricAuth/giodbus.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/BiometricAuth/giodbus.cpp b/BiometricAuth/giodbus.cpp +index 9e0490e..4ad8d27 100644 +--- a/BiometricAuth/giodbus.cpp ++++ b/BiometricAuth/giodbus.cpp +@@ -1,6 +1,6 @@ + #include "giodbus.h" + #include +-#include ++#include + #include + + int get_server_gvariant_stdout (int drvid) +-- +2.33.0 + diff --git a/ukui-screensaver.spec b/ukui-screensaver.spec index ca89da8..2bdbc4e 100644 --- a/ukui-screensaver.spec +++ b/ukui-screensaver.spec @@ -1,11 +1,12 @@ Name: ukui-screensaver Version: 3.1.1 -Release: 2 +Release: 3 Summary: Screensaver for UKUI desktop environment License: GPL-3+ and GPL-2+ URL: http://www.ukui.org Source0: %{name}-%{version}.tar.gz Patch01: 0001-fix-root-can-not-input-passwd-bug.patch +Patch02: 0002-fix-build-compile-error.patch BuildRequires: cmake BuildRequires: qt5-qtbase-devel @@ -37,6 +38,7 @@ provided by biometric-auth service. %prep %setup -q %patch1 -p1 +%patch2 -p1 %build cmake . @@ -71,6 +73,9 @@ glib-compile-schemas /usr/share/glib-2.0/schemas/ &> /dev/null ||: %{_prefix}/lib/ukui-screensaver/screensaver-focus-helper %changelog +* Fri Feb 10 2023 tanyulong - 3.1.1-3 +- fix build compile error + * Fri Dec 9 2022 peijiankang - 3.1.1-2 - fix root can not input passwd bug