public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schorm <mschorm@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/cinnamon-desktop] rawhide: Remove unnecessary '%ldconfig_scriptlets'
Date: Sun, 26 Jul 2026 21:06:31 GMT	[thread overview]
Message-ID: <178509999176.1.767482925639741547.rpms-cinnamon-desktop-ed46997fe3fb@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/cinnamon-desktop
            Branch : rawhide
            Commit : ed46997fe3fbf098d674a12b1ec9298e89fceaec
            Author : Michal Schorm <mschorm@redhat.com>
            Date   : 2026-07-26T18:59:03+02:00
            Stats  : +0/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/cinnamon-desktop/c/ed46997fe3fbf098d674a12b1ec9298e89fceaec?branch=rawhide

            Log:
            Remove unnecessary '%ldconfig_scriptlets'

Since Fedora 28 (2018), RPM file triggers automatically run ldconfig
when shared libraries are installed or removed from standard library
directories. The explicit '%ldconfig_scriptlets' macro is redundant.

  Reference: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets

This package ships 'libcinnamon-desktop.so.*' and 'libcvc.so.*' in
'%{_libdir}/' (standard library paths), so ldconfig is handled
automatically by file triggers.

The macro was added in commit 420c9d1 (2018-02-08, "Update to git
snapshot") when the spec transitioned from explicit '%post -p
/sbin/ldconfig'. Commit 9108e9d (2019-01-22, Igor Gnatenko,
"Remove obsolete ldconfig scriptlets") removed the
'Requires(postun): /sbin/ldconfig' line but left '%ldconfig_scriptlets'
in place.

Co-Authored-By: Claude AI <noreply@anthropic.com>

---
diff --git a/cinnamon-desktop.spec b/cinnamon-desktop.spec
index 386b2eb..21d8540 100644
--- a/cinnamon-desktop.spec
+++ b/cinnamon-desktop.spec
@@ -84,9 +84,6 @@ install -m 644 %SOURCE1 %buildroot%{_datadir}/applications/x-cinnamon-mimeapps.l
 %find_lang %{po_package} --all-name --with-gnome
 
 
-%ldconfig_scriptlets
-
-
 %files -f %{po_package}.lang
 %doc AUTHORS README
 %license COPYING COPYING.LIB

                 reply	other threads:[~2026-07-26 21:06 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=178509999176.1.767482925639741547.rpms-cinnamon-desktop-ed46997fe3fb@fedoraproject.org \
    --to=mschorm@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