Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xdg-desktop-portal for openSUSE:Factory checked in at 2021-01-19 15:58:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xdg-desktop-portal (Old) and /work/SRC/openSUSE:Factory/.xdg-desktop-portal.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xdg-desktop-portal" Tue Jan 19 15:58:35 2021 rev:18 rq:863168 version:1.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/xdg-desktop-portal/xdg-desktop-portal.changes 2021-01-11 17:10:48.204120513 +0100 +++ /work/SRC/openSUSE:Factory/.xdg-desktop-portal.new.28504/xdg-desktop-portal.changes 2021-01-19 15:58:36.215054314 +0100 @@ -1,0 +2,7 @@ +Thu Jan 14 10:49:29 UTC 2021 - Frederic Crozat <fcro...@suse.com> + +- Ensure systemd rpm macros are called at install/uninstall times + for systemd user services. +- Add BuildRequires on systemd-rpm-macros. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xdg-desktop-portal.spec ++++++ --- /var/tmp/diff_new_pack.SIiRAD/_old 2021-01-19 15:58:36.755055131 +0100 +++ /var/tmp/diff_new_pack.SIiRAD/_new 2021-01-19 15:58:36.755055131 +0100 @@ -27,6 +27,7 @@ BuildRequires: libtool BuildRequires: pkgconfig +BuildRequires: systemd-rpm-macros BuildRequires: xmlto BuildRequires: pkgconfig(flatpak) BuildRequires: pkgconfig(fontconfig) @@ -84,6 +85,12 @@ %make_install %find_lang %{name} +%post +%systemd_user_post %{name}.service xdg-document-portal.service xdg-permission-store.service + +%preun +%systemd_user_preun %{name}.service xdg-document-portal.service xdg-permission-store.service + %files %license COPYING %dir %{_datadir}/dbus-1 @@ -95,11 +102,11 @@ %{_datadir}/dbus-1/services/org.freedesktop.portal.Documents.service %{_datadir}/doc/xdg-desktop-portal/ %{_libexecdir}/xdg-desktop-portal -%{_prefix}/lib/systemd/user/xdg-document-portal.service -%{_prefix}/lib/systemd/user/xdg-permission-store.service %{_libexecdir}/xdg-document-portal %{_libexecdir}/xdg-permission-store %{_userunitdir}/xdg-desktop-portal.service +%{_userunitdir}/xdg-document-portal.service +%{_userunitdir}/xdg-permission-store.service %files devel %{_datadir}/pkgconfig/xdg-desktop-portal.pc