From 8454d0d108b92037ffcf093636f332be57da74cf Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Fri, 15 Dec 2023 14:01:40 -0500 Subject: [PATCH] Add graphviz install trigger graphviz utilitizes a plugin cache which needs to be created once installed. While graphviz does have its own %post to do so, when built in /app it does not work because it first requires ldconfig to be run (so that the plugins can resolve graphviz's own libraries). graphviz's %post has been converted to a trigger in rawhide (F40), but in the meantime for F39, this avoids the issue. --- flatpak-runtime-config.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/flatpak-runtime-config.spec b/flatpak-runtime-config.spec index e4fd0d9..b2b0301 100644 --- a/flatpak-runtime-config.spec +++ b/flatpak-runtime-config.spec @@ -4,7 +4,7 @@ Name: flatpak-runtime-config Version: 39 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Configuration files that live inside the flatpak runtime Source1: 50-flatpak.conf Source2: sitecustomize.py @@ -90,6 +90,10 @@ glib-compile-schemas /app/share/glib-2.0/schemas &> /dev/null || : %transfiletriggerin -- /app/share/fonts HOME=/root /usr/bin/fc-cache -s +# drop for F40 +%transfiletriggerin -- /app/lib/graphviz /app/lib64/graphviz +/app/bin/dot -c 2>/dev/null || : + %files %dir %{_prefix}/cache %dir %{_prefix}/cache/fontconfig @@ -100,6 +104,9 @@ HOME=/root /usr/bin/fc-cache -s %{_sysconfdir}/ld.so.conf.d/app.conf %changelog +* Fri Dec 15 2023 Yaakov Selkowitz - 39-5 +- Add graphviz install trigger + * Thu Oct 05 2023 Kalev Lember - 39-4 - appdata: Add F39 versions