diff --git a/systemd.spec b/systemd.spec index 2c99c86..bca6b30 100644 --- a/systemd.spec +++ b/systemd.spec @@ -44,7 +44,7 @@ Url: https://systemd.io # Allow users to specify the version and release when building the rpm by # setting the %%version_override and %%release_override macros. Version: %{?version_override}%{!?version_override:256.7} -Release: %{?release_override}%{!?release_override:1.10}%{?dist} +Release: %{?release_override}%{!?release_override:1.11}%{?dist} %global stable %(c="%version"; [ "$c" = "${c#*.*}" ]; echo $?) @@ -1179,7 +1179,13 @@ if [ $1 -ge 1 ]; then systemd-tmpfiles --create &>/dev/null || : fi -%systemd_postun_with_restart systemd-timedated.service systemd-hostnamed.service systemd-journald.service systemd-localed.service systemd-userdbd.service +restarting_services='systemd-timedated.service systemd-hostnamed.service systemd-journald.service systemd-localed.service systemd-userdbd.service' + +%if 0%{?facebook} +restarting_services="$restarting_services systemd-logind.service" +%endif + +%systemd_postun_with_restart $restarting_services # This is the expanded form of %%systemd_user_daemon_reexec. We # can't use the macro because we define it ourselves.