public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/soci] update-to-4.1.4: Remove obsolete ldconfig_scriptlets
@ 2026-06-20  4:39 
  0 siblings, 0 replies; 2+ messages in thread
From:  @ 2026-06-20  4:39 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/soci
            Branch : update-to-4.1.4
            Commit : 2345785253214da3d975f0485bd9fad4b971973e
            Author : Dan Čermák <dan.cermak@cgc-instruments.com>
            Date   : 2021-08-19T16:06:05+02:00
            Stats  : +0/-12 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/soci/c/2345785253214da3d975f0485bd9fad4b971973e?branch=update-to-4.1.4

            Log:
            Remove obsolete ldconfig_scriptlets

This is now handled by a transaction file trigger

---
diff --git a/soci.spec b/soci.spec
index e633bdf..11adf6b 100644
--- a/soci.spec
+++ b/soci.spec
@@ -236,18 +236,6 @@ mv -f %{buildroot}%{_libdir}/cmake %{buildroot}%{_datadir}/%{name}/CMake
 # Remove unpackaged files from the buildroot
 rm -f %{buildroot}%{_libdir}/*.a
 
-%ldconfig_scriptlets
-
-%{?with_sqlite3:%ldconfig_scriptlets sqlite3}
-
-%{?with_mysql:%ldconfig_scriptlets mysql}
-
-%{?with_postgresql:%ldconfig_scriptlets postgresql}
-
-%{?with_odbc:%ldconfig_scriptlets odbc}
-
-%{?with_oracle:%ldconfig_scriptlets oracle}
-
 
 
 %files

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [rpms/soci] update-to-4.1.4: Remove obsolete ldconfig scriptlets
@ 2026-06-20  4:39 Igor Gnatenko
  0 siblings, 0 replies; 2+ messages in thread
From: Igor Gnatenko @ 2026-06-20  4:39 UTC (permalink / raw)
  To: git-commits

            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}
 
 
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-20  4:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-20  4:39 [rpms/soci] update-to-4.1.4: Remove obsolete ldconfig_scriptlets 
  -- strict thread matches above, loose matches on Subject: below --
2026-06-20  4:39 [rpms/soci] update-to-4.1.4: Remove obsolete ldconfig scriptlets Igor Gnatenko

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