public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cinnamon-desktop] 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-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
^ 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-desktop] 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