forked from pool/postgresql
Compare commits
11 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 89210d2037 | |||
| 8407763d1d | |||
| fe0bddb3e0 | |||
| 1083c6414a | |||
| 1005b90ef7 | |||
| 655fc6f3c6 | |||
| 78ebe9d856 | |||
| 556b2d7a68 | |||
| 255769fca9 | |||
| bc93ff23f3 | |||
| 7fec1e465b |
@@ -41,7 +41,7 @@ Obsoletes: %{pg_name}-%{ext_name}-llvmjit < %{version}-%{release} \
|
||||
%nil
|
||||
|
||||
%pg_server_requires \
|
||||
%{requires_eq %{pg_name}-server} \
|
||||
%{requires_ge %{pg_name}-server} \
|
||||
%if %{postgresql_has_llvm} \
|
||||
Recommends: %{pg_name}-llvmjit \
|
||||
%pg_obsolete_llvm_subpackage \
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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)
|
||||
# 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}
|
||||
%define _rpmmacrodir %{_rpmconfigdir}/macros.d
|
||||
@@ -54,7 +55,7 @@ License: PostgreSQL
|
||||
Group: Productivity/Databases/Tools
|
||||
Version: %pgmajor
|
||||
Release: 0
|
||||
Url: https://www.postgresql.org/
|
||||
URL: https://www.postgresql.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: postgresql-noarch = %version-%release
|
||||
Requires: postgresql-implementation
|
||||
@@ -63,6 +64,9 @@ Recommends: %defaultpackage
|
||||
# In June 2020 we changed the package layout for PostgreSQL and
|
||||
# conflict with older releases to get a clean cut-over.
|
||||
Conflicts: postgresql < 9
|
||||
Conflicts: postgresql10 < 10.13
|
||||
Conflicts: postgresql11 < 11.8
|
||||
Conflicts: postgresql12 < 12.3
|
||||
Conflicts: postgresql90
|
||||
Conflicts: postgresql91
|
||||
Conflicts: postgresql92
|
||||
@@ -70,9 +74,6 @@ Conflicts: postgresql93
|
||||
Conflicts: postgresql94 < 9.4.26
|
||||
Conflicts: postgresql95 < 9.5.22
|
||||
Conflicts: postgresql96 < 9.6.18
|
||||
Conflicts: postgresql10 < 10.13
|
||||
Conflicts: postgresql11 < 11.8
|
||||
Conflicts: postgresql12 < 12.3
|
||||
BuildArch: noarch
|
||||
Source0: postgresql-init
|
||||
Source1: postgresql-sysconfig
|
||||
@@ -131,10 +132,8 @@ BuildRequires: pkgconfig(systemd)
|
||||
%{?systemd_ordering}
|
||||
%else
|
||||
Requires(postun): %insserv_prereq
|
||||
Requires(pre): %fillup_prereq
|
||||
%endif
|
||||
|
||||
|
||||
%description server
|
||||
PostgreSQL is an advanced object-relational database management system
|
||||
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
|
||||
Provides: postgresql-llvmjit-devel-noarch = %version-%release
|
||||
Requires: postgresql = %version-%release
|
||||
Requires: postgresql-server-devel-noarch
|
||||
Requires: postgresql-llvmjit-devel-implementation
|
||||
Requires: postgresql-server-devel-noarch
|
||||
|
||||
%description llvmjit-devel
|
||||
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
|
||||
%endif
|
||||
|
||||
|
||||
%define eflag /run/postgresql-was-enabled
|
||||
%define aflag /run/postgresql-was-running
|
||||
|
||||
%if %{with sysusers}
|
||||
%pre server -f %{name}-server.pre
|
||||
%else
|
||||
|
||||
%pre server
|
||||
getent group postgres > /dev/null ||
|
||||
groupadd -g 26 -o -r postgres
|
||||
@@ -413,7 +412,9 @@ fi
|
||||
%endif
|
||||
|
||||
%post server
|
||||
%fillup_only -n postgresql
|
||||
if [ -x /bin/fillup ]; then
|
||||
%fillup_only -n postgresql
|
||||
fi
|
||||
%if %{with systemd}
|
||||
if test -x /usr/bin/systemctl; then
|
||||
PROFILE="/var/lib/pgsql/.bash_profile"
|
||||
|
||||
Reference in New Issue
Block a user