SHA256
1
0
forked from pool/postgresql15

- Update to 15~beta3

https://www.postgresql.org/about/news/p-2496/
- Only build the client libs if the major version matches with the
  noarch package, iow. if we are building the latest version.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql15?expand=0&rev=2
This commit is contained in:
Reinhard Max 2022-09-05 15:37:04 +00:00 committed by Git OBS Bridge
parent a7add878fa
commit c8ea5bca4f
4 changed files with 19 additions and 5 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1a6e2a454b6bcdf76aa4e50573d2fa1ea8db2cdfaa3282a7538830bd285b27bf
size 23585136

View File

@ -0,0 +1 @@
1a6e2a454b6bcdf76aa4e50573d2fa1ea8db2cdfaa3282a7538830bd285b27bf postgresql-15beta3.tar.bz2

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Sep 5 09:20:34 UTC 2022 - Reinhard Max <max@suse.com>
- Update to 15~beta3
https://www.postgresql.org/about/news/p-2496/
- Only build the client libs if the major version matches with the
noarch package, iow. if we are building the latest version.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat May 21 20:48:45 UTC 2022 - Marcus Rueckert <mrueckert@suse.de> Sat May 21 20:48:45 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -16,11 +16,10 @@
# #
%define pgversion 15~beta1 %define pgversion 15~beta3
%define pgmajor 15 %define pgmajor 15
%define pgsuffix %pgmajor %define pgsuffix %pgmajor
%define buildlibs 1 %define tarversion 15beta3
%define tarversion 15beta1
### CUT HERE ### ### CUT HERE ###
%define pgname postgresql%pgsuffix %define pgname postgresql%pgsuffix
@ -42,6 +41,9 @@
%define requires_file() %( readlink -f '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} >= %%{epoch}:%%{version}\\n' -f | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") %define requires_file() %( readlink -f '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} >= %%{epoch}:%%{version}\\n' -f | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
# Only build client libraries of the latest version.
%define buildlibs (%{pgmajor} == %(rpm -q --qf %{VERSION} postgresql | cut -d. -f1))
Name: %pgname Name: %pgname
%if "@BUILD_FLAVOR@" == "mini" %if "@BUILD_FLAVOR@" == "mini"
%define devel devel-mini %define devel devel-mini
@ -599,8 +601,8 @@ mv %buildroot%pgincludedir{/../server,}
mkdir -p %buildroot%pgtestdir/regress mkdir -p %buildroot%pgtestdir/regress
install -sm 0755 contrib/spi/{refint.so,autoinc.so} %buildroot%pgtestdir/regress install -sm 0755 contrib/spi/{refint.so,autoinc.so} %buildroot%pgtestdir/regress
install -sm 0755 src/test/regress/{pg_regress,regress.so} %buildroot%pgtestdir/regress install -sm 0755 src/test/regress/{pg_regress,regress.so} %buildroot%pgtestdir/regress
for i in src/test/regress/{data,expected,sql}; do for i in src/test/regress/{data,expected,input,output,sql}; do
cp -r $i %buildroot%pgtestdir/regress/ test -d $i && cp -r $i %buildroot%pgtestdir/regress/
done done
install -m 0644 src/test/regress/*_schedule %buildroot%pgtestdir/regress install -m 0644 src/test/regress/*_schedule %buildroot%pgtestdir/regress
# }}} # }}}