diff --git a/gnome-remote-desktop.spec b/gnome-remote-desktop.spec index 255d23d..62b05c2 100644 --- a/gnome-remote-desktop.spec +++ b/gnome-remote-desktop.spec @@ -100,12 +100,24 @@ export CC=gcc-13 %meson_install %find_lang %{name} +%check +%meson_test + +%pre +%service_add_pre %{systemd_unit} + %post +%tmpfiles_create %{_tmpfilesdir}/gnome-remote-desktop-tmpfiles.conf +%service_add_post %{systemd_unit} %systemd_user_post %{systemd_unit} %preun +%service_del_preun %{systemd_unit} %systemd_user_preun %{systemd_unit} +%postun +%service_del_postun %{systemd_unit} + %files %license COPYING %doc README.md