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-10-04 20:37:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and      /work/SRC/openSUSE:Factory/.postgresql.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "postgresql"

Tue Oct  4 20:37:21 2022 rev:65 rq:1001279 version:15

Changes:
--------
--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes    2022-04-16 
00:13:25.285582781 +0200
+++ /work/SRC/openSUSE:Factory/.postgresql.new.2275/postgresql.changes  
2022-10-04 20:37:22.544886445 +0200
@@ -1,0 +2,10 @@
+Mon Sep  5 13:12:41 UTC 2022 - Dirk M??ller <[email protected]>
+
+- avoid bashisms in /bin/sh based startup script 
+
+-------------------------------------------------------------------
+Sat May 21 15:11:15 UTC 2022 - Marcus Rueckert <[email protected]>
+
+- Bump to postgresql 15 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ postgresql.spec ++++++
--- /var/tmp/diff_new_pack.pRtPb7/_old  2022-10-04 20:37:23.120887263 +0200
+++ /var/tmp/diff_new_pack.pRtPb7/_new  2022-10-04 20:37:23.124887269 +0200
@@ -15,7 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define pgmajor 14
+%define pgmajor 15
 %define defaultpackage postgresql%pgmajor
 
 %if ! %{defined _rpmmacrodir}

++++++ postgresql-script ++++++
--- /var/tmp/diff_new_pack.pRtPb7/_old  2022-10-04 20:37:23.204887383 +0200
+++ /var/tmp/diff_new_pack.pRtPb7/_new  2022-10-04 20:37:23.208887388 +0200
@@ -10,7 +10,7 @@
 # 
 if test -r $DATADIR/PG_VERSION ; then
     DATA_VERSION=$(cat $DATADIR/PG_VERSION)
-    POSTGRES=/usr/lib/postgresql${DATA_VERSION/./}/bin/postgres
+    POSTGRES=/usr/lib/postgresql$(echo -n $DATA_VERSION | tr -d .)/bin/postgres
 fi
 if test -x /usr/bin/postgres; then
     ACTIVE=$(readlink -q -f /usr/bin/postgres)
@@ -49,7 +49,7 @@
            test -n "$POSTGRES_LANG" && export LC_ALL="$POSTGRES_LANG"
            install -d -m 700 ${DATADIR} &&
            echo "Initializing PostgreSQL $VERSION at location ${DATADIR}"
-           /usr/bin/initdb --auth=ident $DATADIR &> initlog || {
+           /usr/bin/initdb --auth=ident $DATADIR > initlog 2>&1 || {
                echo "Initialisation failed. See $PWD/initlog ."
                exit 1
            }

Reply via email to