From 6fd5cee46026913f6865a4cb4144221a32920d0d Mon Sep 17 00:00:00 2001 From: David King Date: Fri, 31 Mar 2017 14:23:28 +0100 Subject: [PATCH] Update to 0.6 --- xdg-desktop-portal.spec | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/xdg-desktop-portal.spec b/xdg-desktop-portal.spec index 7b7a015..e1d15ba 100644 --- a/xdg-desktop-portal.spec +++ b/xdg-desktop-portal.spec @@ -1,6 +1,6 @@ Name: xdg-desktop-portal -Version: 0.5 -Release: 2%{?dist} +Version: 0.6 +Release: 1%{?dist} Summary: Portal frontend service to flatpak License: LGPLv2+ @@ -10,6 +10,8 @@ Source0: https://github.com/flatpak/xdg-desktop-portal/releases/download/%{versi BuildRequires: pkgconfig(flatpak) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: /usr/bin/xmlto +%{?systemd_requires} +BuildRequires: systemd Requires: dbus %description @@ -45,6 +47,14 @@ install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals %find_lang %{name} +%post +%systemd_user_post %{name}.service + + +%preun +%systemd_user_preun %{name}.service + + %files -f %{name}.lang %doc %{_pkgdocdir} %license COPYING @@ -53,12 +63,16 @@ install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals %{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.*.xml %{_datadir}/dbus-1/services/org.freedesktop.portal.Desktop.service %{_datadir}/%{name} +%{_userunitdir}/%{name}.service %files devel %{_libdir}/pkgconfig/xdg-desktop-portal.pc %changelog +* Fri Mar 31 2017 David King - 0.6-1 +- Update to 0.6 + * Sat Feb 11 2017 Fedora Release Engineering - 0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild