diff --git a/fix-root-can-not-input-passwd-bug.patch b/fix-root-can-not-input-passwd-bug.patch new file mode 100644 index 0000000..0042249 --- /dev/null +++ b/fix-root-can-not-input-passwd-bug.patch @@ -0,0 +1,32 @@ +From 6740159fcdaa0276824fbac93501c4fd79b23d03 Mon Sep 17 00:00:00 2001 +From: huayadong +Date: Thu, 9 Dec 2021 18:01:43 +0800 +Subject: [PATCH] fix root can not input passwd bug + +--- + data/ukui-screensaver-qt | 14 ++++---------- + 1 file changed, 4 insertions(+), 10 deletions(-) + +diff --git a/data/ukui-screensaver-qt b/data/ukui-screensaver-qt +index 6af045a..25d81df 100755 +--- a/data/ukui-screensaver-qt ++++ b/data/ukui-screensaver-qt +@@ -1,11 +1,5 @@ +-@include common-auth +-auth optional pam_gnome_keyring.so ++auth include system-auth ++account include system-auth ++password include system-auth ++session include system-auth + +- +-#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 +-- +2.30.0 + diff --git a/ukui-screensaver.spec b/ukui-screensaver.spec index 9927494..4f311cd 100644 --- a/ukui-screensaver.spec +++ b/ukui-screensaver.spec @@ -1,6 +1,6 @@ Name: ukui-screensaver Version: 3.0.1 -Release: 15 +Release: 16 Summary: parallels toolbox for UKUI License: GPL-3+ GPL-2+ URL: http://www.ukui.org @@ -40,6 +40,7 @@ patch10: 0011-Add-gitattriutes-files.patch patch11: 0012-add-build-requires-packages.patch patch12: 0013-Update-package-version.patch patch13: fix-root-user-had-not-face-icon.patch +Patch14: fix-root-can-not-input-passwd-bug.patch %description The ukui-sidebar is mainly used in the desktop operating system. @@ -63,6 +64,7 @@ patch13: fix-root-user-had-not-face-icon.patch %patch11 -p1 %patch12 -p1 %patch13 -p1 +%patch14 -p1 %build cmake . @@ -91,6 +93,9 @@ rm -rf $RPM_BUILD_ROOT #%%{_datadir}/ukui-screensaver/screensaver-en.ini %changelog +* Thu Dec 09 2021 huayadong - 3.0.1-16 +- add patch14: fix-root-can-not-input-passwd-bug.patch + * Thu Dec 09 2021 huayadong - 3.0.1-15 - add patch13:fix-root-user-had-not-face-icon.patch