From 70db6d4bbaf8853ea4531e076dcc4ad4568dc4ab Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Sun, 15 Jun 2025 19:53:50 +0800 Subject: [PATCH] remove duplicate shared libs (cherry picked from commit 03f371c60c5abc326901e23133d4e9b6ebcbd022) --- postgresql.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/postgresql.spec b/postgresql.spec index b9185db..03ed914 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -32,7 +32,7 @@ Summary: PostgreSQL client programs Name: postgresql %global majorversion 15 Version: %{majorversion}.13 -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. @@ -161,6 +161,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 < 15.13-2 %description private-libs The postgresql-private-libs package provides the shared libraries for this @@ -948,9 +949,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 @@ -1297,6 +1295,9 @@ make -C postgresql-setup-%{setup_version} check %changelog +* Sun Jun 15 2025 Funda Wang - 15.13-2 +- remove duplicate shared libs + * Fri May 09 2025 Funda Wang - 15.13-1 - update to 15.13 -- Gitee