public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cinnamon-menus] rawhide: Remove unnecessary '%ldconfig_scriptlets'
@ 2026-07-26 21:06 Michal Schorm
  0 siblings, 0 replies; only message in thread
From: Michal Schorm @ 2026-07-26 21:06 UTC (permalink / raw)
  To: git-commits

            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

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

only message in thread, other threads:[~2026-07-26 21:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-26 21:06 [rpms/cinnamon-menus] rawhide: Remove unnecessary '%ldconfig_scriptlets' Michal Schorm

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