From 8678f37c4152d11f9a0194256e819e1b46938f36 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Sun, 15 Jun 2025 19:43:10 +0800 Subject: [PATCH] remove duplicate shared libs (cherry picked from commit 274f764b2b040d8b9b541705402b37c974d56af4) --- postgresql.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/postgresql.spec b/postgresql.spec index bd2cd45..306d71f 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -36,7 +36,7 @@ Summary: PostgreSQL client programs Name: postgresql %global majorversion 13 Version: %{majorversion}.21 -Release: 1 +Release: 2 # The PostgreSQL license is very similar to other MIT licenses, but the OSI # recognizes it as an independent license, so we do as well. @@ -168,6 +168,8 @@ postgresql-server sub-package. Summary: The shared libraries required only for this build of PostgreSQL server Group: Applications/Databases Obsoletes: postgresql-13-private-libs < %{version}-%{release} +Conflicts: postgresql < 13.21-2 +Conflicts: postgresql-13 < 13.21-2 # for /sbin/ldconfig Requires(post): glibc Requires(postun): glibc @@ -977,9 +979,6 @@ make -C postgresql-setup-%{setup_version} check # so that extensions can use this dir. %dir %{_libdir}/pgsql/bitcode %endif -%if ! %external_libpq -%{_libdir}/libpq.so.* -%endif %files docs %doc *-US.pdf @@ -1317,6 +1316,9 @@ make -C postgresql-setup-%{setup_version} check %changelog +* Sun Jun 15 2025 Funda Wang - 13.21-2 +- remove duplicate shared libs + * Fri May 09 2025 Funda Wang - 13.21-1 - update to 13.21 -- Gitee