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/soci] update-to-4.1.4: Remove obsolete ldconfig scriptlets
Date: Sat, 20 Jun 2026 04:39:42 GMT	[thread overview]
Message-ID: <178193038208.1.12122834006476594962.rpms-soci-b4271b98a6c0@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/soci
            Branch : update-to-4.1.4
            Commit : b4271b98a6c02096f1b3ca33552b8e565d806cee
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2019-01-22T18:41:01+01:00
            Stats  : +6/-18 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/soci/c/b4271b98a6c02096f1b3ca33552b8e565d806cee?branch=update-to-4.1.4

            Log:
            Remove obsolete ldconfig scriptlets

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

---
diff --git a/soci.spec b/soci.spec
index b9cdde4..2ef3be3 100644
--- a/soci.spec
+++ b/soci.spec
@@ -243,29 +243,17 @@ popd
 #  Remove unpackaged files from the buildroot
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
 
-%post -p /sbin/ldconfig
+%ldconfig_scriptlets
 
-%postun -p /sbin/ldconfig
+%{?with_sqlite3:%ldconfig_scriptlets sqlite3}
 
-%{?with_sqlite3:%post sqlite3 -p /sbin/ldconfig
+%{?with_mysql:%ldconfig_scriptlets mysql}
 
-%postun sqlite3 -p /sbin/ldconfig}
+%{?with_postgresql:%ldconfig_scriptlets postgresql}
 
-%{?with_mysql:%post mysql -p /sbin/ldconfig
+%{?with_odbc:%ldconfig_scriptlets odbc}
 
-%postun mysql -p /sbin/ldconfig}
-
-%{?with_postgresql:%post postgresql -p /sbin/ldconfig
-
-%postun postgresql -p /sbin/ldconfig}
-
-%{?with_odbc:%post odbc -p /sbin/ldconfig
-
-%postun odbc -p /sbin/ldconfig}
-
-%{?with_oracle:%post oracle -p /sbin/ldconfig
-
-%postun oracle -p /sbin/ldconfig}
+%{?with_oracle:%ldconfig_scriptlets oracle}
 
 
 

             reply	other threads:[~2026-06-20  4:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-20  4:39 Igor Gnatenko [this message]
2026-06-20  4:39 [rpms/soci] update-to-4.1.4: Remove obsolete ldconfig_scriptlets 

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=178193038208.1.12122834006476594962.rpms-soci-b4271b98a6c0@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