From a1fab9ae41258215940f7c407f19f1ac4edebc37 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Sun, 15 Jun 2025 20:01:22 +0800 Subject: [PATCH] remove duplicate shared libs --- postgresql-13.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/postgresql-13.spec b/postgresql-13.spec index ec9eab7..7754988 100644 --- a/postgresql-13.spec +++ b/postgresql-13.spec @@ -36,7 +36,7 @@ Summary: PostgreSQL client programs Name: postgresql-13 %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. @@ -166,6 +166,7 @@ postgresql-server sub-package. %package private-libs Summary: The shared libraries required only for this build of PostgreSQL server Group: Applications/Databases +Conflicts: postgresql-13 < 13.21-2 # for /sbin/ldconfig Requires(post): glibc Requires(postun): glibc @@ -960,9 +961,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 @@ -1300,6 +1298,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