public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/gcc] rhel-f41-base: Remove obsolete ldconfig scriptlets
Date: Mon, 29 Jun 2026 12:28:13 GMT	[thread overview]
Message-ID: <178273609312.1.7380174234643276143.rpms-gcc-3759f6f554ea@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/gcc
            Branch : rhel-f41-base
            Commit : 3759f6f554eab9af6c2f0cea8c4308358305456b
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2019-01-22T18:39:01+01:00
            Stats  : +13/-39 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gcc/c/3759f6f554eab9af6c2f0cea8c4308358305456b?branch=rhel-f41-base

            Log:
            Remove obsolete ldconfig scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>

---
diff --git a/gcc.spec b/gcc.spec
index 2c10e5f..3f4a63c 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -2081,25 +2081,15 @@ if posix.access ("/sbin/ldconfig", "x") then
   end
 end
 
-%post -n libstdc++ -p /sbin/ldconfig
+%ldconfig_scriptlets -n libstdc++
 
-%postun -n libstdc++ -p /sbin/ldconfig
+%ldconfig_scriptlets -n libobjc
 
-%post -n libobjc -p /sbin/ldconfig
+%ldconfig_scriptlets -n libgfortran
 
-%postun -n libobjc -p /sbin/ldconfig
+%ldconfig_scriptlets -n libgphobos
 
-%post -n libgfortran -p /sbin/ldconfig
-
-%postun -n libgfortran -p /sbin/ldconfig
-
-%post -n libgphobos -p /sbin/ldconfig
-
-%postun -n libgphobos -p /sbin/ldconfig
-
-%post -n libgnat -p /sbin/ldconfig
-
-%postun -n libgnat -p /sbin/ldconfig
+%ldconfig_scriptlets -n libgnat
 
 %post -n libgomp
 /sbin/ldconfig
@@ -2116,13 +2106,9 @@ fi
 
 %postun -n libgomp -p /sbin/ldconfig
 
-%post gdb-plugin -p /sbin/ldconfig
-
-%postun gdb-plugin -p /sbin/ldconfig
-
-%post -n libgccjit -p /sbin/ldconfig
+%ldconfig_scriptlets gdb-plugin
 
-%postun -n libgccjit -p /sbin/ldconfig
+%ldconfig_scriptlets -n libgccjit
 
 %post -n libgccjit-devel
 if [ -f %{_infodir}/libgccjit.info.gz ]; then
@@ -2166,29 +2152,17 @@ fi
 
 %postun -n libitm -p /sbin/ldconfig
 
-%post -n libatomic -p /sbin/ldconfig
-
-%postun -n libatomic -p /sbin/ldconfig
-
-%post -n libasan -p /sbin/ldconfig
-
-%postun -n libasan -p /sbin/ldconfig
-
-%post -n libubsan -p /sbin/ldconfig
-
-%postun -n libubsan -p /sbin/ldconfig
-
-%post -n libtsan -p /sbin/ldconfig
+%ldconfig_scriptlets -n libatomic
 
-%postun -n libtsan -p /sbin/ldconfig
+%ldconfig_scriptlets -n libasan
 
-%post -n liblsan -p /sbin/ldconfig
+%ldconfig_scriptlets -n libubsan
 
-%postun -n liblsan -p /sbin/ldconfig
+%ldconfig_scriptlets -n libtsan
 
-%post -n libgo -p /sbin/ldconfig
+%ldconfig_scriptlets -n liblsan
 
-%postun -n libgo -p /sbin/ldconfig
+%ldconfig_scriptlets -n libgo
 
 %files -f %{name}.lang
 %{_prefix}/bin/cc

                 reply	other threads:[~2026-06-29 12:28 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=178273609312.1.7380174234643276143.rpms-gcc-3759f6f554ea@fedoraproject.org \
    --to=ignatenkobrain@fedoraproject.org \
    --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