SHA256
1
0
forked from pool/postgresql

11 Commits

Author SHA256 Message Date
89210d2037 Accepting request 1307156 from server:database:postgresql
- Bump major and default to 18 for Factory and TW.

- Bump default to 17 for SLE-15-SP7.

OBS-URL: https://build.opensuse.org/request/show/1307156
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=73
2025-09-26 20:24:16 +00:00
8407763d1d format spec file cleanup
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=162
2025-09-25 14:30:13 +00:00
fe0bddb3e0 - Bump major and default to 18 for Factory and TW.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=161
2025-09-25 14:16:47 +00:00
1083c6414a - Bump default to 17 for SLE-15-SP7.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=160
2024-12-11 14:09:02 +00:00
1005b90ef7 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
2024-11-15 14:38:19 +00:00
655fc6f3c6 sync
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=159
2024-11-14 12:55:50 +00:00
78ebe9d856 Accepting request 1201994 from server:database:postgresql
- Bump major and default to 17 for Factory and TW.

OBS-URL: https://build.opensuse.org/request/show/1201994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=71
2024-09-23 13:18:56 +00:00
556b2d7a68 - Bump major and default to 17 for Factory and TW.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=158
2024-09-19 11:31:26 +00:00
255769fca9 Accepting request 1200762 from server:database:postgresql
- bsc#1230423: Relax the dependency of extensions on the server
  version from exact major.minor to greater or equal, after Tom
  Lane confirmed on the PostgreSQL packagers list that ABI
  stability is being taken care of between minor releases.

OBS-URL: https://build.opensuse.org/request/show/1200762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=70
2024-09-15 10:32:52 +00:00
bc93ff23f3 typo
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=157
2024-09-13 07:28:01 +00:00
7fec1e465b - bsc#1230423: Relax the dependency of extensions on the server
versopn from exact major.minor to greater or equal, after Tom
  Lane confirmed on the PostgreSQL packagers list that ABI
  stability is being taken care of between minor releases.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=156
2024-09-12 08:30:29 +00:00
3 changed files with 49 additions and 14 deletions

View File

@@ -41,7 +41,7 @@ Obsoletes: %{pg_name}-%{ext_name}-llvmjit < %{version}-%{release} \
%nil %nil
%pg_server_requires \ %pg_server_requires \
%{requires_eq %{pg_name}-server} \ %{requires_ge %{pg_name}-server} \
%if %{postgresql_has_llvm} \ %if %{postgresql_has_llvm} \
Recommends: %{pg_name}-llvmjit \ Recommends: %{pg_name}-llvmjit \
%pg_obsolete_llvm_subpackage \ %pg_obsolete_llvm_subpackage \

View File

@@ -1,3 +1,37 @@
-------------------------------------------------------------------
Fri May 9 20:37:08 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Bump major and default to 18 for Factory and TW.
-------------------------------------------------------------------
Wed Dec 11 13:50:25 UTC 2024 - Reinhard Max <max@suse.com>
- Bump default to 17 for SLE-15-SP7.
-------------------------------------------------------------------
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>
- Bump major and default to 17 for Factory and TW.
-------------------------------------------------------------------
Thu Sep 12 08:28:00 UTC 2024 - Reinhard Max <max@suse.com>
- bsc#1230423: Relax the dependency of extensions on the server
version from exact major.minor to greater or equal, after Tom
Lane confirmed on the PostgreSQL packagers list that ABI
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

@@ -1,7 +1,7 @@
# #
# spec file for package postgresql # spec file for package postgresql
# #
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2025 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,11 +12,12 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%define pgmajor 16
%define defaultpackage postgresql16 %define pgmajor 18
%define defaultpackage postgresql18
%if ! %{defined _rpmmacrodir} %if ! %{defined _rpmmacrodir}
%define _rpmmacrodir %{_rpmconfigdir}/macros.d %define _rpmmacrodir %{_rpmconfigdir}/macros.d
@@ -54,7 +55,7 @@ License: PostgreSQL
Group: Productivity/Databases/Tools Group: Productivity/Databases/Tools
Version: %pgmajor Version: %pgmajor
Release: 0 Release: 0
Url: https://www.postgresql.org/ URL: https://www.postgresql.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: postgresql-noarch = %version-%release Provides: postgresql-noarch = %version-%release
Requires: postgresql-implementation Requires: postgresql-implementation
@@ -63,6 +64,9 @@ Recommends: %defaultpackage
# In June 2020 we changed the package layout for PostgreSQL and # In June 2020 we changed the package layout for PostgreSQL and
# conflict with older releases to get a clean cut-over. # conflict with older releases to get a clean cut-over.
Conflicts: postgresql < 9 Conflicts: postgresql < 9
Conflicts: postgresql10 < 10.13
Conflicts: postgresql11 < 11.8
Conflicts: postgresql12 < 12.3
Conflicts: postgresql90 Conflicts: postgresql90
Conflicts: postgresql91 Conflicts: postgresql91
Conflicts: postgresql92 Conflicts: postgresql92
@@ -70,9 +74,6 @@ Conflicts: postgresql93
Conflicts: postgresql94 < 9.4.26 Conflicts: postgresql94 < 9.4.26
Conflicts: postgresql95 < 9.5.22 Conflicts: postgresql95 < 9.5.22
Conflicts: postgresql96 < 9.6.18 Conflicts: postgresql96 < 9.6.18
Conflicts: postgresql10 < 10.13
Conflicts: postgresql11 < 11.8
Conflicts: postgresql12 < 12.3
BuildArch: noarch BuildArch: noarch
Source0: postgresql-init Source0: postgresql-init
Source1: postgresql-sysconfig Source1: postgresql-sysconfig
@@ -131,10 +132,8 @@ BuildRequires: pkgconfig(systemd)
%{?systemd_ordering} %{?systemd_ordering}
%else %else
Requires(postun): %insserv_prereq Requires(postun): %insserv_prereq
Requires(pre): %fillup_prereq
%endif %endif
%description server %description server
PostgreSQL is an advanced object-relational database management system PostgreSQL is an advanced object-relational database management system
that supports an extended subset of the SQL standard, including that supports an extended subset of the SQL standard, including
@@ -187,8 +186,8 @@ Summary: Helper package to pull all dependencies to build with llvm suppo
Group: Productivity/Databases/Servers Group: Productivity/Databases/Servers
Provides: postgresql-llvmjit-devel-noarch = %version-%release Provides: postgresql-llvmjit-devel-noarch = %version-%release
Requires: postgresql = %version-%release Requires: postgresql = %version-%release
Requires: postgresql-server-devel-noarch
Requires: postgresql-llvmjit-devel-implementation Requires: postgresql-llvmjit-devel-implementation
Requires: postgresql-server-devel-noarch
%description llvmjit-devel %description llvmjit-devel
PostgreSQL is an advanced object-relational database management system PostgreSQL is an advanced object-relational database management system
@@ -382,13 +381,13 @@ install -D -m 0644 %{SOURCE8} %{buildroot}%{_rpmmacrodir}/macros.%{name}
install -Dm0644 %{SOURCE9} %{buildroot}%{_sysusersdir}/%{name}-server.conf install -Dm0644 %{SOURCE9} %{buildroot}%{_sysusersdir}/%{name}-server.conf
%endif %endif
%define eflag /run/postgresql-was-enabled %define eflag /run/postgresql-was-enabled
%define aflag /run/postgresql-was-running %define aflag /run/postgresql-was-running
%if %{with sysusers} %if %{with sysusers}
%pre server -f %{name}-server.pre %pre server -f %{name}-server.pre
%else %else
%pre server %pre server
getent group postgres > /dev/null || getent group postgres > /dev/null ||
groupadd -g 26 -o -r postgres groupadd -g 26 -o -r postgres
@@ -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"