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 9f421adea4
)
This commit is contained in:
parent
a1c89a2487
commit
15c20b1798
@ -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 <klember@redhat.com> - 0.40.0-4
|
||||
- Use full path for dconf in posttrans script (#1950829)
|
||||
|
||||
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 0.40.0-3
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user