Hello community, here is the log from the commit of package postgresql94 for openSUSE:Factory checked in at 2017-11-26 10:33:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postgresql94 (Old) and /work/SRC/openSUSE:Factory/.postgresql94.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postgresql94" Sun Nov 26 10:33:23 2017 rev:10 rq:545171 version:9.4.14 Changes: -------- --- /work/SRC/openSUSE:Factory/postgresql94/postgresql94.changes 2017-08-23 11:52:10.771967034 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql94.new/postgresql94.changes 2017-11-26 10:33:27.450145398 +0100 @@ -1,0 +2,32 @@ +Thu Nov 23 19:24:41 UTC 2017 - mrueck...@suse.de + +- port /usr/share/postgresql/install-alternatives usage to the new + scheme + +------------------------------------------------------------------- +Mon Oct 2 10:59:50 UTC 2017 - m...@suse.com + +- Break a build dependency loop in the server packages that led to + bootstrap problems. + +------------------------------------------------------------------- +Fri Sep 1 14:38:01 UTC 2017 - m...@suse.com + +- Update to version 9.4.14: + * https://www.postgresql.org/docs/9.4/static/release-9-4-14.html + * Fix failure of walsender processes to respond to shutdown + signals. + * Show foreign tables in information_schema.table_privileges + view. + * Clean up handling of a fatal exit (e.g., due to receipt of + SIGTERM) that occurs while trying to execute a ROLLBACK of a + failed transaction. + * Remove assertion that could trigger during a fatal exit. + * Correctly identify columns that are of a range type or domain + type over a composite type or domain type being searched for. + * Fix crash in pg_restore when using parallel mode and using a + list file to select a subset of items to restore. + * Change ecpg's parser to allow RETURNING clauses without + attached C variables. + +------------------------------------------------------------------- Old: ---- postgresql-9.4.13.tar.bz2 New: ---- postgresql-9.4.14.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postgresql94.spec ++++++ --- /var/tmp/diff_new_pack.mmbwu5/_old 2017-11-26 10:33:28.310114040 +0100 +++ /var/tmp/diff_new_pack.mmbwu5/_new 2017-11-26 10:33:28.310114040 +0100 @@ -18,6 +18,7 @@ %define majorversion 9.4 %define packageversion 94 +%define priority %packageversion %define pgname postgresql%packageversion %define libpq libpq5 %define libecpg libecpg6 @@ -49,7 +50,6 @@ BuildRequires: libuuid-devel BuildRequires: ncurses-devel BuildRequires: pam-devel -BuildRequires: postgresql-init BuildRequires: python-devel BuildRequires: readline-devel BuildRequires: tcl-devel @@ -66,10 +66,12 @@ BuildRequires: pkg-config BuildRequires: update-alternatives #!BuildIgnore: %pgname +#!BuildIgnore: %pgname-server +#!BuildIgnore: postgresql-implementation Summary: Basic Clients and Utilities for PostgreSQL License: PostgreSQL Group: Productivity/Databases/Tools -Version: 9.4.13 +Version: 9.4.14 Release: 0 %define pg_minor_version %(echo %version | sed -r 's/^([0-9]+\\.[0-9]+).*/\\1/') Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2 @@ -85,10 +87,11 @@ Patch9: postgresql-var-run-socket.patch Url: https://www.postgresql.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build -Provides: postgresql = %version +Provides: postgresql = %version-%release +Provides: postgresql-implementation = %version-%release Requires: %libpq >= %majorversion -Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(post): postgresql-noarch >= %majorversion +Requires(postun): postgresql-noarch >= %majorversion %description PostgreSQL is an advanced object-relational database management system @@ -147,11 +150,11 @@ %package -n %pgname-devel Summary: PostgreSQL development header files and libraries Group: Development/Libraries/C and C++ -Provides: postgresql-devel = %version +Provides: postgresql-devel-implementation = %version-%release Requires: %libecpg >= %majorversion Requires: %libpq >= %majorversion -Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(post): postgresql-noarch >= %majorversion +Requires(postun): postgresql-noarch >= %majorversion # Installation of postgresql??-devel is exclusive Provides: postgresql-devel-exclusive = %majorversion Conflicts: postgresql-devel-exclusive < %majorversion @@ -177,14 +180,13 @@ Group: Productivity/Databases/Servers PreReq: /sbin/chkconfig PreReq: postgresql = %version -PreReq: postgresql-init >= %majorversion Requires: glibc-locale Requires: timezone -Provides: postgresql-server = %version -Requires(preun): postgresql-init >= %majorversion -Requires(postun): postgresql-init >= %majorversion -Requires(post): update-alternatives -Requires(postun): update-alternatives +Provides: postgresql-server-implementation = %version-%release +Requires(preun): postgresql-server-noarch >= %majorversion +Requires(postun): postgresql-server-noarch >= %majorversion +Requires(post): postgresql-noarch >= %majorversion +Requires(postun): postgresql-noarch >= %majorversion %description server PostgreSQL is an advanced object-relational database management system @@ -199,7 +201,9 @@ %package test Summary: The test suite for PostgreSQL Group: Productivity/Databases/Servers -Requires: postgresql-server = %version +Provides: postgresql-test-implementation = %version-%release +Requires: %pgname-server = %version +Requires: postgresql-test-noarch >= %majorversion %description test This package contains the sources and pre-built binaries of various @@ -209,7 +213,8 @@ %package docs Summary: HTML Documentation for PostgreSQL Group: Productivity/Databases/Tools -Provides: postgresql-docs = %version +Provides: postgresql-docs-implementation = %version-%release +Requires: postgresql-docs-noarch >= %majorversion %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif @@ -227,11 +232,11 @@ %package contrib Summary: Contributed Extensions and Additions to PostgreSQL -#FIXME Group: Productivity/Databases/Tools -PreReq: %pgname-server = %version -Provides: postgresql-contrib = %version -Requires(post): update-alternatives +Provides: postgresql-contrib-implementation = %version-%release +Requires: postgresql-contrib-noarch >= %majorversion +Requires(post): postgresql >= %majorversion +PreReq: %pgname-server = %version-%release %description contrib PostgreSQL is an advanced object-relational database management system @@ -249,10 +254,10 @@ %package plperl Summary: The PL/Tcl, PL/Perl, and PL/Python procedural languages for PostgreSQL Group: Productivity/Databases/Servers +Provides: postgresql-plperl-implementation = %version-%release +Requires: %pgname-server = %version-%release Requires: perl = %perl_version -Provides: postgresql-plperl = %version -#FIXME -Requires: %pgname-server = %version +Requires: postgresql-plperl-noarch >= %majorversion %description plperl This package contains the the PL/Tcl, PL/Perl, and PL/Python procedural @@ -264,9 +269,9 @@ %package plpython Summary: The PL/Python Procedural Languages for PostgreSQL Group: Productivity/Databases/Servers -Provides: postgresql-plpython = %version -#FIXME -Requires: %pgname-server = %version +Provides: postgresql-plpython-implementation = %version-%release +Requires: %pgname-server = %version-%release +Requires: postgresql-plpython-noarch >= %majorversion Requires: python %description plpython @@ -285,9 +290,9 @@ %package pltcl Summary: PL/Tcl Procedural Language for PostgreSQL Group: Productivity/Databases/Tools -Provides: postgresql-pltcl = %version -#FIXME +Provides: postgresql-pltcl-implementation = %version-%release Requires: %pgname-server = %version +Requires: postgresql-pltcl-noarch >= %majorversion Requires: tcl %description pltcl @@ -475,19 +480,6 @@ rm %buildroot%pgdatadir/pg_service.conf.sample %endif %endif -cat > alternatives <<"EOF" -shopt -s nullglob -for FILE in %pgbindir/*; do - NAME=$(basename $FILE) - DIR=%_bindir - SLAVES="$SLAVES --slave $DIR/$NAME $NAME $FILE" -done -if test -n "$SLAVES"; then - update-alternatives --quiet --install \ - /usr/lib/postgresql postgresql %pgbasedir %packageversion \ - $SLAVES -fi -EOF mkdir -p %buildroot{%_bindir,%_mandir/man1} mkdir -p %buildroot/etc/alternatives genlists () @@ -506,7 +498,7 @@ ln -s $ALTBIN %buildroot$BIN echo "$PGBIN" >> $PKG.files - echo "$BIN" >> $PKG.files + echo "%config(missingok) $BIN" >> $PKG.files echo "%ghost $ALTBIN" >> $PKG.files test -e %buildroot$MAN && echo "%doc $MAN" >> $PKG.files @@ -542,13 +534,13 @@ %if %buildmain %postun -if test "$1" == 0; then - update-alternatives --remove postgresql %pgbasedir -fi +/usr/share/postgresql/install-alternatives %priority -%post -p /bin/bash -f alternatives +%post +/usr/share/postgresql/install-alternatives %priority -%post server -f alternatives +%post server +/usr/share/postgresql/install-alternatives %priority %preun server # Stop only when we are uninstalling the currently running version @@ -561,7 +553,8 @@ fi fi -%postun server -f alternatives +%postun server +/usr/share/postgresql/install-alternatives %priority # Restart only when we are updating the currently running version # or from the old packaging scheme PID=$(pidof -s postgres) || : @@ -573,17 +566,21 @@ fi fi -%post contrib -f alternatives +%post contrib +/usr/share/postgresql/install-alternatives %priority -%postun contrib -f alternatives +%postun contrib +/usr/share/postgresql/install-alternatives %priority %endif %if %builddevel -%post -n %pgname-devel -f alternatives +%post devel +/usr/share/postgresql/install-alternatives %priority -%postun -n %pgname-devel -f alternatives +%postun devel +/usr/share/postgresql/install-alternatives %priority %endif %if %buildlibs @@ -628,7 +625,6 @@ %pgdocdir/extension %dir %pgdatadir /usr/lib/postgresql -%ghost /etc/alternatives/postgresql %files server -f server.files %defattr(-,root,root) @@ -641,7 +637,6 @@ %exclude %pgdatadir/tsearch_data/*.rules %dir %pgdatadir /usr/lib/postgresql -%ghost /etc/alternatives/postgresql %pgdatadir/timezone* %pgdatadir/*.* %if %buildlibs ++++++ postgresql-9.4.13.tar.bz2 -> postgresql-9.4.14.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/postgresql94/postgresql-9.4.13.tar.bz2 /work/SRC/openSUSE:Factory/.postgresql94.new/postgresql-9.4.14.tar.bz2 differ: char 11, line 1