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:
parent
884620465e
commit
61e4777d04
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
Name: gnome-remote-desktop
|
Name: gnome-remote-desktop
|
||||||
Version: 46.0
|
Version: 46.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: GNOME Remote Desktop screen share service
|
Summary: GNOME Remote Desktop screen share service
|
||||||
|
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
@ -97,21 +97,21 @@ GNOME desktop environment.
|
|||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_system_post %{systemd_unit_system}
|
%systemd_post %{systemd_unit_system}
|
||||||
%systemd_user_post %{systemd_unit_handover}
|
%systemd_user_post %{systemd_unit_handover}
|
||||||
%systemd_user_post %{systemd_unit_headless}
|
%systemd_user_post %{systemd_unit_headless}
|
||||||
%systemd_user_post %{systemd_unit_user}
|
%systemd_user_post %{systemd_unit_user}
|
||||||
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_system_preun %{systemd_unit_system}
|
%systemd_preun %{systemd_unit_system}
|
||||||
%systemd_user_preun %{systemd_unit_handover}
|
%systemd_user_preun %{systemd_unit_handover}
|
||||||
%systemd_user_preun %{systemd_unit_headless}
|
%systemd_user_preun %{systemd_unit_headless}
|
||||||
%systemd_user_preun %{systemd_unit_user}
|
%systemd_user_preun %{systemd_unit_user}
|
||||||
|
|
||||||
|
|
||||||
%postun
|
%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_handover}
|
||||||
%systemd_user_postun_with_restart %{systemd_unit_headless}
|
%systemd_user_postun_with_restart %{systemd_unit_headless}
|
||||||
%systemd_user_postun_with_restart %{systemd_unit_user}
|
%systemd_user_postun_with_restart %{systemd_unit_user}
|
||||||
@ -142,6 +142,9 @@ GNOME desktop environment.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 45.1-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user