public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/flatpak-runtime-config] f45: Switch ldconfig scriptlet to %filetriggerin
Date: Thu, 10 Sep 2026 21:22:04 GMT	[thread overview]
Message-ID: <178907532415.1.17961863072572854779.rpms-flatpak-runtime-config-cd0c283e09c9@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-09-10 21:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178907532415.1.17961863072572854779.rpms-flatpak-runtime-config-cd0c283e09c9@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox