From ea1b261cc20ca60dcd1380c427e0db443d7c9a71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= Date: Wed, 31 Mar 2021 11:47:57 +0200 Subject: [PATCH] spec: update spec file with recent upstream fixes * https://github.com/SSSD/sssd/commit/815197cb1d33ad0ac8538f5402a7b95e9f474e7f * https://github.com/SSSD/sssd/commit/9da41eb910ed292a9ed27aa8b66c4d4c8c842122 (cherry picked from commit 53a865af5d2972215da41df083002452738474ba) --- sssd.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/sssd.spec b/sssd.spec index c65d81f..7092df5 100644 --- a/sssd.spec +++ b/sssd.spec @@ -118,6 +118,7 @@ BuildRequires: softhsm >= 2.1.0 BuildRequires: systemd-devel BuildRequires: systemtap-sdt-devel BuildRequires: uid_wrapper +BuildRequires: po4a %description Provides a set of daemons to manage access to remote directories and @@ -951,18 +952,20 @@ getent passwd sssd >/dev/null || useradd -r -g sssd -d / -s /sbin/nologin -c "Us %postun common %systemd_postun_with_restart sssd-autofs.socket -%systemd_postun_with_restart sssd-autofs.service %systemd_postun_with_restart sssd-nss.socket -%systemd_postun_with_restart sssd-nss.service %systemd_postun_with_restart sssd-pac.socket -%systemd_postun_with_restart sssd-pac.service %systemd_postun_with_restart sssd-pam.socket %systemd_postun_with_restart sssd-pam-priv.socket -%systemd_postun_with_restart sssd-pam.service %systemd_postun_with_restart sssd-ssh.socket -%systemd_postun_with_restart sssd-ssh.service %systemd_postun_with_restart sssd-sudo.socket -%systemd_postun_with_restart sssd-sudo.service + +# Services have RefuseManualStart=true, therefore we can't request restart. +%systemd_postun sssd-autofs.service +%systemd_postun sssd-nss.service +%systemd_postun sssd-pac.service +%systemd_postun sssd-pam.service +%systemd_postun sssd-ssh.service +%systemd_postun sssd-sudo.service %post dbus %systemd_post sssd-ifp.service