diff --git a/0001-fix-root-can-not-input-passwd-bug.patch b/0001-fix-root-can-not-input-passwd-bug.patch new file mode 100644 index 0000000..19d7dc3 --- /dev/null +++ b/0001-fix-root-can-not-input-passwd-bug.patch @@ -0,0 +1,35 @@ +From 0cbee5c060d55abb52f2633e9126968183f4abd7 Mon Sep 17 00:00:00 2001 +From: pei-jiankang +Date: Wed, 2 Mar 2022 15:42:17 +0800 +Subject: [PATCH] fix root can not input passwd bug + +--- + data/ukui-screensaver-qt | 16 ++++------------ + 1 file changed, 4 insertions(+), 12 deletions(-) + +diff --git a/data/ukui-screensaver-qt b/data/ukui-screensaver-qt +index 8ac0d54..672fb54 100644 +--- a/data/ukui-screensaver-qt ++++ b/data/ukui-screensaver-qt +@@ -1,14 +1,6 @@ + auth requisite pam_nologin.so + auth sufficient pam_succeed_if.so user ingroup nopasswdlogin +- +-@include common-auth +-auth optional pam_gnome_keyring.so +- +- +-#If you are using Arch,comment out the +-#above and use the following. +- +-#auth include system-auth +-#account include system-auth +-#password include system-auth +-#session include system-auth ++auth include system-auth ++account include system-auth ++password include system-auth ++session include system-auth +-- +2.33.0 + diff --git a/ukui-screensaver.spec b/ukui-screensaver.spec index c386c44..ca89da8 100644 --- a/ukui-screensaver.spec +++ b/ukui-screensaver.spec @@ -1,10 +1,11 @@ Name: ukui-screensaver Version: 3.1.1 -Release: 1 +Release: 2 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 BuildRequires: cmake BuildRequires: qt5-qtbase-devel @@ -35,6 +36,7 @@ provided by biometric-auth service. %prep %setup -q +%patch1 -p1 %build cmake . @@ -69,6 +71,9 @@ glib-compile-schemas /usr/share/glib-2.0/schemas/ &> /dev/null ||: %{_prefix}/lib/ukui-screensaver/screensaver-focus-helper %changelog +* Fri Dec 9 2022 peijiankang - 3.1.1-2 +- fix root can not input passwd bug + * Tue Dec 6 2022 peijiankang - 3.1.1-1 - update version to 3.1.1