From b51dae053e1fd20a04eaa593b9720d2ceba58613 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 2 Aug 2022 17:14:17 +0200 Subject: [PATCH] Simplify file lists --- xdg-desktop-portal.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xdg-desktop-portal.spec b/xdg-desktop-portal.spec index f1c75aa..17c7aed 100644 --- a/xdg-desktop-portal.spec +++ b/xdg-desktop-portal.spec @@ -64,19 +64,19 @@ The pkg-config file for %{name}. install -dm 755 %{buildroot}/%{_pkgdocdir} install -pm 644 README.md %{buildroot}/%{_pkgdocdir} # This directory is used by implementations such as xdg-desktop-portal-gtk. -install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals +install -dm 755 %{buildroot}/%{_datadir}/xdg-desktop-portal/portals %find_lang %{name} %post -%systemd_user_post %{name}.service +%systemd_user_post xdg-desktop-portal.service %systemd_user_post xdg-document-portal.service %systemd_user_post xdg-permission-store.service %preun -%systemd_user_preun %{name}.service +%systemd_user_preun xdg-desktop-portal.service %systemd_user_preun xdg-document-portal.service %systemd_user_preun xdg-permission-store.service @@ -89,13 +89,13 @@ install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals %{_datadir}/dbus-1/services/org.freedesktop.portal.Desktop.service %{_datadir}/dbus-1/services/org.freedesktop.portal.Documents.service %{_datadir}/dbus-1/services/org.freedesktop.impl.portal.PermissionStore.service -%{_datadir}/%{name} +%{_datadir}/xdg-desktop-portal/ %{_libexecdir}/xdg-desktop-portal %{_libexecdir}/xdg-desktop-portal-rewrite-launchers %{_libexecdir}/xdg-desktop-portal-validate-icon %{_libexecdir}/xdg-document-portal %{_libexecdir}/xdg-permission-store -%{_userunitdir}/%{name}.service +%{_userunitdir}/xdg-desktop-portal.service %{_userunitdir}/xdg-desktop-portal-rewrite-launchers.service %{_userunitdir}/xdg-document-portal.service %{_userunitdir}/xdg-permission-store.service