Accepting request 1224220 from server:database:postgresql

- Bump major to 17 for SLE.

- bsc#1219340: The last fix was not correct. Improve it by removing
  the dependency again and call fillup only if it is installed.

OBS-URL: https://build.opensuse.org/request/show/1224220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=72
This commit is contained in:
Ana Guerrero 2024-11-15 14:38:19 +00:00 committed by Git OBS Bridge
commit 1005b90ef7
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 13 15:52:30 UTC 2024 - Reinhard Max <max@suse.com>
- Bump major to 17 for SLE.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 19 11:30:29 UTC 2024 - Reinhard Max <max@suse.com> Thu Sep 19 11:30:29 UTC 2024 - Reinhard Max <max@suse.com>
@ -11,6 +16,12 @@ Thu Sep 12 08:28:00 UTC 2024 - Reinhard Max <max@suse.com>
Lane confirmed on the PostgreSQL packagers list that ABI Lane confirmed on the PostgreSQL packagers list that ABI
stability is being taken care of between minor releases. stability is being taken care of between minor releases.
-------------------------------------------------------------------
Tue Feb 27 15:28:14 UTC 2024 - Reinhard Max <max@suse.com>
- bsc#1219340: The last fix was not correct. Improve it by removing
the dependency again and call fillup only if it is installed.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 8 12:09:14 UTC 2024 - Reinhard Max <max@suse.com> Thu Feb 8 12:09:14 UTC 2024 - Reinhard Max <max@suse.com>

View File

@ -131,7 +131,6 @@ BuildRequires: pkgconfig(systemd)
%{?systemd_ordering} %{?systemd_ordering}
%else %else
Requires(postun): %insserv_prereq Requires(postun): %insserv_prereq
Requires(pre): %fillup_prereq
%endif %endif
@ -413,7 +412,9 @@ fi
%endif %endif
%post server %post server
%fillup_only -n postgresql if [ -x /bin/fillup ]; then
%fillup_only -n postgresql
fi
%if %{with systemd} %if %{with systemd}
if test -x /usr/bin/systemctl; then if test -x /usr/bin/systemctl; then
PROFILE="/var/lib/pgsql/.bash_profile" PROFILE="/var/lib/pgsql/.bash_profile"