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-menus] rawhide: Remove unnecessary '%ldconfig_scriptlets'
Date: Sun, 26 Jul 2026 21:06:59 GMT	[thread overview]
Message-ID: <178510001911.1.13776577569839211065.rpms-cinnamon-menus-30c647221df8@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/cinnamon-menus
            Branch : rawhide
            Commit : 30c647221df82553468bad703f610c9a526fc1d6
            Author : Michal Schorm <mschorm@redhat.com>
            Date   : 2026-07-26T18:59:09+02:00
            Stats  : +0/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/cinnamon-menus/c/30c647221df82553468bad703f610c9a526fc1d6?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-menu-3.so.*' in '%{_libdir}/'
(a standard library path), so ldconfig is handled automatically
by file triggers.

The macro was added in commit c34fd2a (2018-04-16, "Update to
3.8.0 release") and was never removed after file triggers made it
unnecessary.

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

---
diff --git a/cinnamon-menus.spec b/cinnamon-menus.spec
index 29e14ee..6d4a821 100644
--- a/cinnamon-menus.spec
+++ b/cinnamon-menus.spec
@@ -44,8 +44,6 @@ writing applications that use the Cinnamon menu system.
 %install
 %meson_install
 
-%ldconfig_scriptlets
-
 %files
 %doc AUTHORS NEWS
 %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=178510001911.1.13776577569839211065.rpms-cinnamon-menus-30c647221df8@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