diff --git a/0001-exclude-pcpqa-user-who-cannot-login-because-of-SELin.patch b/0001-exclude-pcpqa-user-who-cannot-login-because-of-SELin.patch new file mode 100644 index 0000000..2a0f9f8 --- /dev/null +++ b/0001-exclude-pcpqa-user-who-cannot-login-because-of-SELin.patch @@ -0,0 +1,26 @@ +From 2807b7704fe1abbd1eb68eb6c8f6c2f430bdf12b Mon Sep 17 00:00:00 2001 +From: ouyangminxiang +Date: Wed, 30 Mar 2022 15:47:25 +0800 +Subject: [PATCH] exclude pcpqa user who cannot login because of SELinux + +--- + src/user-classify.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/user-classify.c b/src/user-classify.c +index 9db1c9a..cbfe177 100644 +--- a/src/user-classify.c ++++ b/src/user-classify.c +@@ -51,7 +51,8 @@ static const char *default_excludes[] = { + "man", + "at", + "gdm", +- "gnome-initial-setup" ++ "gnome-initial-setup", ++ "pcpqa" + }; + + static gboolean +-- +2.33.0 + diff --git a/accountsservice.spec b/accountsservice.spec index 5a66a20..68ab458 100644 --- a/accountsservice.spec +++ b/accountsservice.spec @@ -1,12 +1,14 @@ Name: accountsservice Version: 0.6.55 -Release: 1 +Release: 2 Summary: D-Bus service for accessing the list of user accounts and information attached to those accounts. License: GPLv3+ URL: https://www.freedesktop.org/wiki/Software/AccountsService/ Source0: https://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz +Patch1: 0001-exclude-pcpqa-user-who-cannot-login-because-of-SELin.patch + BuildRequires: gtk-doc polkit-devel libxslt pkgconfig(dbus-1) systemd systemd-devel BuildRequires: meson gobject-introspection-devel gettext-devel glib2-devel Requires: polkit shadow-utils @@ -37,7 +39,7 @@ are contained in %{name}-devel package. %package_help %prep -%autosetup -n %{name}-%{version} +%autosetup -n %{name}-%{version} -p 1 %build %meson -Dgtk_doc=true -Duser_heuristics=true @@ -87,6 +89,9 @@ are contained in %{name}-devel package. %{_datadir}/gtk-doc/html/libaccountsservice/* %changelog +* Wed Mar 30 2022 ouyangminxiang - 0.6.55-2 +- exclude pcpqa user who cannot login because of SELinux + * Thu Jan 28 2021 yanglu - 0.6.55-1 - Version update