Correct systemd macros

There is no `%systemd_system_post`, `%systemd_system_preun` etc.
They're just `%systemd_post` and `%systemd_preun`. These
currently wind up as literal strings in the scripts and cause an
`fg: no job control` error when you install or remove the
package.
This commit is contained in:
Adam Williamson 2024-03-28 10:29:19 -07:00
parent 884620465e
commit 61e4777d04

View File

@ -13,7 +13,7 @@
Name: gnome-remote-desktop
Version: 46.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: GNOME Remote Desktop screen share service
License: GPL-2.0-or-later
@ -97,21 +97,21 @@ GNOME desktop environment.
%post
%systemd_system_post %{systemd_unit_system}
%systemd_post %{systemd_unit_system}
%systemd_user_post %{systemd_unit_handover}
%systemd_user_post %{systemd_unit_headless}
%systemd_user_post %{systemd_unit_user}
%preun
%systemd_system_preun %{systemd_unit_system}
%systemd_preun %{systemd_unit_system}
%systemd_user_preun %{systemd_unit_handover}
%systemd_user_preun %{systemd_unit_headless}
%systemd_user_preun %{systemd_unit_user}
%postun
%systemd_system_postun_with_restart %{systemd_unit_system}
%systemd_postun_with_restart %{systemd_unit_system}
%systemd_user_postun_with_restart %{systemd_unit_handover}
%systemd_user_postun_with_restart %{systemd_unit_headless}
%systemd_user_postun_with_restart %{systemd_unit_user}
@ -142,6 +142,9 @@ GNOME desktop environment.
%changelog
* Thu Mar 28 2024 Adam Williamson <awilliam@redhat.com> - 46.0-2
- Correct systemd macros
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 45.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild