forked from pool/postgresql12
Accepting request 1172964 from server:database:postgresql
- Upgrade to 12.19 (bsc#1224051): * Fix incompatibility with LLVM 18. * https://www.postgresql.org/docs/release/12.19/ - Prepare for PostgreSQL 17. - Make sure all compilation and doc generation happens in %build. - Require LLVM <= 17 for now, because LLVM 18 doesn't seem to work. - Remove constraints file because improved memory usage for s390x OBS-URL: https://build.opensuse.org/request/show/1172964 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=34
This commit is contained in:
commit
376af59aa1
13
_constraints
13
_constraints
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<constraints>
|
||||
<overwrite>
|
||||
<conditions>
|
||||
<arch>s390x</arch>
|
||||
</conditions>
|
||||
<hardware>
|
||||
<memory>
|
||||
<size unit="G">12</size>
|
||||
</memory>
|
||||
</hardware>
|
||||
</overwrite>
|
||||
</constraints>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4f9919725d941ce9868e07fe1ed1d3a86748599b483386547583928b74c3918a
|
||||
size 21208935
|
@ -1 +0,0 @@
|
||||
4f9919725d941ce9868e07fe1ed1d3a86748599b483386547583928b74c3918a postgresql-12.18.tar.bz2
|
3
postgresql-12.19.tar.bz2
Normal file
3
postgresql-12.19.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:617e3de52c22e822f4f57d01d5b2240503e198a9eccaf598a851109bd18e6fbb
|
||||
size 21218699
|
1
postgresql-12.19.tar.bz2.sha256
Normal file
1
postgresql-12.19.tar.bz2.sha256
Normal file
@ -0,0 +1 @@
|
||||
617e3de52c22e822f4f57d01d5b2240503e198a9eccaf598a851109bd18e6fbb postgresql-12.19.tar.bz2
|
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 8 14:16:55 UTC 2024 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Upgrade to 12.19 (bsc#1224051):
|
||||
* Fix incompatibility with LLVM 18.
|
||||
* https://www.postgresql.org/docs/release/12.19/
|
||||
- Prepare for PostgreSQL 17.
|
||||
- Make sure all compilation and doc generation happens in %build.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 1 15:24:39 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||
|
||||
- Require LLVM <= 17 for now, because LLVM 18 doesn't seem to work.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 7 15:04:40 UTC 2024 - Sarah Kriesch <sarah.kriesch@opensuse.org>
|
||||
|
||||
- Remove constraints file because improved memory usage for s390x
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 29 14:38:15 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@ -16,11 +16,11 @@
|
||||
#
|
||||
|
||||
|
||||
%define pgversion 12.18
|
||||
%define pgversion 12.19
|
||||
%define pgmajor 12
|
||||
%define buildlibs 0
|
||||
%define tarversion %{pgversion}
|
||||
%define latest_supported_llvm_ver 18
|
||||
%define latest_supported_llvm_ver 17
|
||||
|
||||
### CUT HERE ###
|
||||
%define pgname postgresql%pgmajor
|
||||
@ -59,6 +59,12 @@ Name: %pgname
|
||||
%define python python
|
||||
%endif
|
||||
|
||||
%if %pgmajor >= 17
|
||||
%bcond_with dreived
|
||||
%else
|
||||
%bcond_without derived
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%bcond_without liblz4
|
||||
%endif
|
||||
@ -88,6 +94,12 @@ BuildRequires: zlib-devel
|
||||
%if %{with liblz4}
|
||||
BuildRequires: pkgconfig(liblz4)
|
||||
%endif
|
||||
%if %{without derived}
|
||||
BuildRequires: bison
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
BuildRequires: flex
|
||||
BuildRequires: perl
|
||||
%endif
|
||||
|
||||
%if %{with libzstd}
|
||||
BuildRequires: pkgconfig(libzstd)
|
||||
@ -573,7 +585,7 @@ PACKAGE_TARNAME=%pgname %configure \
|
||||
%if %mini
|
||||
make -C src/interfaces %{?_smp_mflags} PACKAGE_TARNAME=%pgname
|
||||
%else
|
||||
make %{?_smp_mflags} PACKAGE_TARNAME=%pgname
|
||||
make %{?_smp_mflags} PACKAGE_TARNAME=%pgname world
|
||||
|
||||
%if %{with check}
|
||||
|
||||
@ -641,9 +653,9 @@ find %buildroot -type f -cnewer flag -printf "/%%P\n" |
|
||||
> contrib.files
|
||||
rm flag
|
||||
install -d -m 750 %buildroot/var/lib/pgsql
|
||||
install -d -m755 %buildroot%pgdocdir
|
||||
install -d -m 755 %buildroot%pgdocdir
|
||||
cp doc/KNOWN_BUGS doc/MISSING_FEATURES COPYRIGHT \
|
||||
README HISTORY %buildroot%pgdocdir
|
||||
README* HISTORY %buildroot%pgdocdir
|
||||
# Use versioned names for the man pages:
|
||||
for f in %buildroot%pgmandir/man*/*; do
|
||||
mv $f ${f}pg%pgmajor
|
||||
@ -701,6 +713,7 @@ genlists main \
|
||||
pg_receivewal \
|
||||
pg_verify_checksums \
|
||||
pg_checksums \
|
||||
pg_combinebackup \
|
||||
pg_verifybackup
|
||||
|
||||
%find_lang plpgsql-$VLANG main.files
|
||||
@ -711,6 +724,8 @@ genlists server \
|
||||
pg_ctl \
|
||||
pg_controldata \
|
||||
pg_resetwal \
|
||||
pg_createsubscriber \
|
||||
pg_walsummary \
|
||||
pg_waldump \
|
||||
pg_resetxlog \
|
||||
%if %pgmajor >= 15
|
||||
@ -924,7 +939,6 @@ fi
|
||||
|
||||
%files llvmjit-devel
|
||||
%defattr(-,root,root)
|
||||
%doc README
|
||||
|
||||
%files pltcl -f pltcl.lang
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user