Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package postgresql for openSUSE:Factory checked in at 2022-02-11 23:06:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postgresql (Old) and /work/SRC/openSUSE:Factory/.postgresql.new.1956 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postgresql" Fri Feb 11 23:06:46 2022 rev:63 rq:953724 version:14 Changes: -------- --- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes 2021-12-07 00:00:29.116330338 +0100 +++ /work/SRC/openSUSE:Factory/.postgresql.new.1956/postgresql.changes 2022-02-11 23:07:18.506589001 +0100 @@ -1,0 +2,10 @@ +Thu Feb 10 10:35:57 UTC 2022 - Reinhard Max <m...@suse.com> + +- Fix the pg_server_requires macro on older rpm versions (SLE-12). + +------------------------------------------------------------------- +Fri Jan 28 15:26:21 UTC 2022 - Reinhard Max <m...@suse.com> + +- Avoid a dependency on awk in postgresql-script. + +------------------------------------------------------------------- @@ -28 +38,2 @@ -- Bump version and default to 14. +- Bump version to 14. +- Bump default to 14 on Factory and future SPs. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postgresql-extensions-macros ++++++ --- /var/tmp/diff_new_pack.rTqJao/_old 2022-02-11 23:07:20.498594532 +0100 +++ /var/tmp/diff_new_pack.rTqJao/_new 2022-02-11 23:07:20.502594543 +0100 @@ -40,12 +40,12 @@ Obsoletes: %{pg_name}-%{ext_name}-llvmjit < %{version}-%{release} \ %nil -%pg_server_requires \ -%requires_eq %{pg_name}-server \ -%if %{postgresql_has_llvm} \ -Recommends: %{pg_name}-llvmjit \ -%pg_obsolete_llvm_subpackage \ -%endif \ +%pg_server_requires \ +%{requires_eq %{pg_name}-server} \ +%if %{postgresql_has_llvm} \ +Recommends: %{pg_name}-llvmjit \ +%pg_obsolete_llvm_subpackage \ +%endif \ %nil %pg_version_from_name %define pg_version %( echo %{?pg_name} | sed -e 's|^postgresql||g' )%{nil} ++++++ postgresql-script ++++++ --- /var/tmp/diff_new_pack.rTqJao/_old 2022-02-11 23:07:20.546594665 +0100 +++ /var/tmp/diff_new_pack.rTqJao/_new 2022-02-11 23:07:20.550594677 +0100 @@ -34,7 +34,10 @@ exit 1 fi BINDIR=$(dirname $POSTGRES) -VERSION=$($POSTGRES --version|awk '{print $NF}') +# Avoiding the use of awk to get the last word +# in the line, which is the version number +VERSION=$($POSTGRES --version) +VERSION=${VERSION##* } pg_ctl () { $BINDIR/pg_ctl -s -D $DATADIR ${POSTGRES_TIMEOUT:+-t $POSTGRES_TIMEOUT} "$@" } @@ -44,7 +47,6 @@ start) if [ ! -f $DATADIR/PG_VERSION ]; then test -n "$POSTGRES_LANG" && export LC_ALL="$POSTGRES_LANG" - V=$(printf "%02d%02d" $(echo $VERSION|awk -F. '{print $1, $2}')) install -d -m 700 ${DATADIR} && echo "Initializing PostgreSQL $VERSION at location ${DATADIR}" /usr/bin/initdb --auth=ident $DATADIR &> initlog || {