From 61e4777d041bb18d3f6681c18c1249456479765d Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mar 28 2024 17:29:19 +0000 Subject: 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. --- diff --git a/gnome-remote-desktop.spec b/gnome-remote-desktop.spec index ead47a5..2e41162 100644 --- a/gnome-remote-desktop.spec +++ b/gnome-remote-desktop.spec @@ -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 - 46.0-2 +- Correct systemd macros + * Wed Jan 24 2024 Fedora Release Engineering - 45.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild