SHA256
1
0
forked from pool/postgresql12

- boo#1216022: Call install-alternatives from the devel subpackage

as well, otherwise the symlink for ecpg might be missing.

- Also buildignore the postgresql*-implementation symbols: this is
  needed in order to bootstrap when no postgresql version currently
  has valid symbols provided. Once the packages are built, OBS
  could translate this to the pgname-* packages and accept the
  ignores; during bootstrap though, there is nothing providing the
  symbol and the existing buildignores do not suffice.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=88
This commit is contained in:
Reinhard Max 2023-10-10 13:13:29 +00:00 committed by Git OBS Bridge
parent 0c9821a301
commit 1a20e3016b
2 changed files with 30 additions and 7 deletions

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Tue Oct 10 12:49:02 UTC 2023 - Reinhard Max <max@suse.com>
- boo#1216022: Call install-alternatives from the devel subpackage
as well, otherwise the symlink for ecpg might be missing.
-------------------------------------------------------------------
Mon Sep 18 15:24:14 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Also buildignore the postgresql*-implementation symbols: this is
needed in order to bootstrap when no postgresql version currently
has valid symbols provided. Once the packages are built, OBS
could translate this to the pgname-* packages and accept the
ignores; during bootstrap though, there is nothing providing the
symbol and the existing buildignores do not suffice.
-------------------------------------------------------------------
Wed Aug 9 10:25:49 UTC 2023 - Reinhard Max <max@suse.com> Wed Aug 9 10:25:49 UTC 2023 - Reinhard Max <max@suse.com>
- Update to 12.16: - Update to 12.16:

View File

@ -159,6 +159,10 @@ BuildRequires: pkgconfig(systemd)
#!BuildIgnore: %pgname-pltcl #!BuildIgnore: %pgname-pltcl
#!BuildIgnore: %pgname-plperl #!BuildIgnore: %pgname-plperl
#!BuildIgnore: %pgname-plpython #!BuildIgnore: %pgname-plpython
#!BuildIgnore: postgresql-implementation
#!BuildIgnore: postgresql-server-implementation
#!BuildIgnore: postgresql-server-devel-implementation
#!BuildIgnore: postgresql-llvmjit-devel-implementation
Summary: Basic Clients and Utilities for PostgreSQL Summary: Basic Clients and Utilities for PostgreSQL
License: PostgreSQL License: PostgreSQL
Group: Productivity/Databases/Tools Group: Productivity/Databases/Tools
@ -505,7 +509,7 @@ included in the postgresql-server package.
touch -r configure tmp touch -r configure tmp
%patch1 %patch1
%patch4 %patch4
%patch8 -p1 %patch8
%patch9 %patch9
%if %{with llvm} %if %{with llvm}
%patch10 %patch10
@ -791,18 +795,20 @@ awk -v P=%buildroot '/^(%lang|[^%])/{print P $NF}' libpq.files libecpg.files | x
%post -n %pgname-%devel %post -n %pgname-%devel
/sbin/ldconfig /sbin/ldconfig
%if %{with server_devel}
%post server-devel
%endif
/usr/share/postgresql/install-alternatives %pgmajor /usr/share/postgresql/install-alternatives %pgmajor
%postun -n %pgname-%devel %postun -n %pgname-%devel
/sbin/ldconfig /sbin/ldconfig
%if %{with server_devel}
%postun server-devel
%endif
/usr/share/postgresql/install-alternatives %pgmajor /usr/share/postgresql/install-alternatives %pgmajor
%if %{with server_devel}
%post server-devel
/usr/share/postgresql/install-alternatives %pgmajor
%postun server-devel
/usr/share/postgresql/install-alternatives %pgmajor
%endif
%if !%mini %if !%mini
%postun %postun