[packages/PackageKit] - ensure helpers dir exists
qboosh
qboosh at pld-linux.org
Sat May 9 09:42:23 CEST 2020
commit 5059111f26a41882574aabf82763b2506e74ae60
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat May 9 09:42:44 2020 +0200
- ensure helpers dir exists
PackageKit.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/PackageKit.spec b/PackageKit.spec
index 8003d14..29a6832 100644
--- a/PackageKit.spec
+++ b/PackageKit.spec
@@ -422,6 +422,11 @@ install -d $RPM_BUILD_ROOT/var/cache/PackageKit/downloads
%{__rm} $RPM_BUILD_ROOT%{_libdir}/packagekit-backend/libpk_backend_test_*.so
+%if %{without apt} && %{without entropy} && %{without portage}
+# common dir not created if no users built with PackageKit
+install -d $RPM_BUILD_ROOT%{_datadir}/PackageKit/helpers
+%endif
+
# use pk-gstreamer-install as codec installer
ln -s pk-gstreamer-install $RPM_BUILD_ROOT%{_libexecdir}/gst-install-plugins-helper
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/PackageKit.git/commitdiff/5059111f26a41882574aabf82763b2506e74ae60
More information about the pld-cvs-commit
mailing list