[packages/xdg-desktop-portal] own common %{_datadi}/xdg-desktop-portal{,/portals} dirs; rel 2
atler
atler at pld-linux.org
Mon Nov 27 23:31:36 CET 2023
commit 6c623aa8a8605009d29354b89cda58c0f801af9c
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Nov 27 23:30:00 2023 +0100
own common %{_datadi}/xdg-desktop-portal{,/portals} dirs; rel 2
xdg-desktop-portal.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/xdg-desktop-portal.spec b/xdg-desktop-portal.spec
index fcbbae1..4263939 100644
--- a/xdg-desktop-portal.spec
+++ b/xdg-desktop-portal.spec
@@ -2,7 +2,7 @@ Summary: Portal frontend service to Flatpak
Summary(pl.UTF-8): Usługa frontendu portalu dla Flatpaka
Name: xdg-desktop-portal
Version: 1.16.0
-Release: 1
+Release: 2
License: LGPL v2+
Group: Libraries
#Source0Download: https://github.com/flatpak/xdg-desktop-portal/releases
@@ -83,6 +83,8 @@ Pliki programistyczne xdg-desktop-portal.
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_datadir}/xdg-desktop-portal/portals
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
@@ -159,6 +161,8 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.PermissionStore.service
%{_datadir}/dbus-1/services/org.freedesktop.portal.Desktop.service
%{_datadir}/dbus-1/services/org.freedesktop.portal.Documents.service
+%dir %{_datadir}/xdg-desktop-portal
+%dir %{_datadir}/xdg-desktop-portal/portals
%files devel
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xdg-desktop-portal.git/commitdiff/8f4d10da651a369316233972b98974ed2f59937d
More information about the pld-cvs-commit
mailing list