From 15c20b1798324d0eb8a1fa03f94901132faddd7f Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 19 Apr 2021 16:39:49 +0200 Subject: [PATCH] Use full path for dconf in posttrans script We don't have PATH correctly set up to contain /app/bin when installing packages for flatpak containers. This led to the 'dconf update' posttrans script to fail to execute when building dconf-editor flatpak. As a workaround, just use the full path here. https://bugzilla.redhat.com/show_bug.cgi?id=1950829 Resolves: #1953440 (cherry picked from Fedora commit 9f421adea425a2c1de4658d5b428ef4b1abd577f) --- dconf.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dconf.spec b/dconf.spec index bfe4913..c9a875f 100644 --- a/dconf.spec +++ b/dconf.spec @@ -2,7 +2,7 @@ Name: dconf Version: 0.40.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A configuration system License: LGPLv2+ and GPLv2+ and GPLv3+ @@ -59,7 +59,7 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dconf/db/site.d/locks mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dconf/db/distro.d/locks %posttrans -dconf update +%{_bindir}/dconf update %post %systemd_user_post dconf.service @@ -103,6 +103,9 @@ dconf update %{_datadir}/vala %changelog +* Mon Apr 19 2021 Kalev Lember - 0.40.0-4 +- Use full path for dconf in posttrans script (#1950829) + * Thu Apr 15 2021 Mohan Boddu - 0.40.0-3 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937