From 1942c8b9d5e520cb3d73c190a022fdc1d821deb1 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 16 Apr 2018 13:29:07 +0200 Subject: [PATCH] upgrade: don't package libpq.so & friends Version: 10.3-3 --- postgresql.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/postgresql.spec b/postgresql.spec index d765a12..5b9e472 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -709,7 +709,12 @@ install -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{?_localstatedir}/lib/pgsql/.bash_pro rm -rf share/doc rm -rf share/man rm -rf share/tsearch_data - rm -rf lib/*.a + rm lib/*.a + # Drop libpq. This might need some tweaks once there's + # soname bump between %%prevversion and %%version. + rm lib/libpq.so* + # Drop libraries. + rm lib/lib{ecpg,ecpg_compat,pgtypes}.so* rm share/*.bki rm share/*description rm share/*.sample @@ -1165,6 +1170,7 @@ make -C postgresql-setup-%{setup_version} check * Mon Apr 16 2018 Pavel Raiskup - 10.3-3 - upgrade: package plperl.so and pltcl.so - upgrade: package contrib modules +- upgrade: drop dynamic libraries * Fri Apr 13 2018 Pavel Raiskup - 10.3-2 - define %%precise_version helper macro