From c8ea5bca4f20479b74814c362cf4ca26c5651fb0b93c6f75e33944c063d94899 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Mon, 5 Sep 2022 15:37:04 +0000 Subject: [PATCH] - 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 --- postgresql-15beta3.tar.bz2 | 3 +++ postgresql-15beta3.tar.bz2.sha256 | 1 + postgresql15.changes | 8 ++++++++ postgresql15.spec | 12 +++++++----- 4 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 postgresql-15beta3.tar.bz2 create mode 100644 postgresql-15beta3.tar.bz2.sha256 diff --git a/postgresql-15beta3.tar.bz2 b/postgresql-15beta3.tar.bz2 new file mode 100644 index 0000000..9ce7d97 --- /dev/null +++ b/postgresql-15beta3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a6e2a454b6bcdf76aa4e50573d2fa1ea8db2cdfaa3282a7538830bd285b27bf +size 23585136 diff --git a/postgresql-15beta3.tar.bz2.sha256 b/postgresql-15beta3.tar.bz2.sha256 new file mode 100644 index 0000000..6673ef0 --- /dev/null +++ b/postgresql-15beta3.tar.bz2.sha256 @@ -0,0 +1 @@ +1a6e2a454b6bcdf76aa4e50573d2fa1ea8db2cdfaa3282a7538830bd285b27bf postgresql-15beta3.tar.bz2 diff --git a/postgresql15.changes b/postgresql15.changes index 8e20b62..3019988 100644 --- a/postgresql15.changes +++ b/postgresql15.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Sep 5 09:20:34 UTC 2022 - Reinhard Max + +- 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 diff --git a/postgresql15.spec b/postgresql15.spec index d5eb6c8..d21a5ad 100644 --- a/postgresql15.spec +++ b/postgresql15.spec @@ -16,11 +16,10 @@ # -%define pgversion 15~beta1 +%define pgversion 15~beta3 %define pgmajor 15 %define pgsuffix %pgmajor -%define buildlibs 1 -%define tarversion 15beta1 +%define tarversion 15beta3 ### CUT HERE ### %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") +# Only build client libraries of the latest version. +%define buildlibs (%{pgmajor} == %(rpm -q --qf %{VERSION} postgresql | cut -d. -f1)) + Name: %pgname %if "@BUILD_FLAVOR@" == "mini" %define devel devel-mini @@ -599,8 +601,8 @@ mv %buildroot%pgincludedir{/../server,} mkdir -p %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 -for i in src/test/regress/{data,expected,sql}; do - cp -r $i %buildroot%pgtestdir/regress/ +for i in src/test/regress/{data,expected,input,output,sql}; do + test -d $i && cp -r $i %buildroot%pgtestdir/regress/ done install -m 0644 src/test/regress/*_schedule %buildroot%pgtestdir/regress # }}}