public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/flatpak-runtime-config] f45: Switch ldconfig scriptlet to %filetriggerin
@ 2026-09-10 21:22 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-10 21:22 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/flatpak-runtime-config
            Branch : f45
            Commit : cd0c283e09c91009870b8e15e37688f0faef49a3
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2025-10-10T12:37:40-04:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/flatpak-runtime-config/c/cd0c283e09c91009870b8e15e37688f0faef49a3?branch=f45

            Log:
            Switch ldconfig scriptlet to %filetriggerin

A library installed in /app needs to be cached as soon as it is installed,
in case any %post scriptlets run binaries dependent on libraries from the
package itself or other libraries in /app, in which case it would fail.
While errors in %post used to be handled as non-critical, as of RPM 6.0
(Fedora 43), these cause the installation to fail.

---
diff --git a/flatpak-runtime-config.spec b/flatpak-runtime-config.spec
index 64b03d6..1bd3ec4 100644
--- a/flatpak-runtime-config.spec
+++ b/flatpak-runtime-config.spec
@@ -95,7 +95,7 @@ _EOF
 
 %post -p /usr/bin/ldconfig
 
-%transfiletriggerin -P 1999999 -- /app/lib /app/lib64 /app/etc/ld.so.conf.d
+%filetriggerin -P 1999999 -- /app/lib /app/lib64 /app/etc/ld.so.conf.d
 /usr/bin/ldconfig
 
 %transfiletriggerin -P 99999 -- /app/%{_lib}/gdk-pixbuf-2.0/2.10.0/loaders /usr/%{_lib}/gdk-pixbuf-2.0/2.10.0/loaders

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-10 21:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-10 21:22 [rpms/flatpak-runtime-config] f45: Switch ldconfig scriptlet to %filetriggerin Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox