Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package postgresql10 for openSUSE:Factory checked in at 2022-11-12 17:40:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postgresql10 (Old) and /work/SRC/openSUSE:Factory/.postgresql10.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postgresql10" Sat Nov 12 17:40:36 2022 rev:31 rq:1035214 version:10.23 Changes: -------- --- /work/SRC/openSUSE:Factory/postgresql10/postgresql10.changes 2022-08-16 17:06:42.147691275 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql10.new.1597/postgresql10.changes 2022-11-12 17:40:45.686022357 +0100 @@ -1,0 +2,13 @@ +Thu Nov 10 16:30:36 UTC 2022 - Reinhard Max <m...@suse.com> + +- bsc#1205300: Update to 10.23: + * https://www.postgresql.org/about/news/2543/ + * https://www.postgresql.org/docs/10/release-10-23.html +- Sync spec file with postgresql15. + +------------------------------------------------------------------- +Fri Sep 23 14:16:15 UTC 2022 - Reinhard Max <m...@suse.com> + +- Sync spec file with postgresql15. + +------------------------------------------------------------------- Old: ---- postgresql-10.22.tar.bz2 postgresql-10.22.tar.bz2.sha256 New: ---- postgresql-10.23.tar.bz2 postgresql-10.23.tar.bz2.sha256 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postgresql10.spec ++++++ --- /var/tmp/diff_new_pack.6ccUTf/_old 2022-11-12 17:40:46.462026977 +0100 +++ /var/tmp/diff_new_pack.6ccUTf/_new 2022-11-12 17:40:46.466027001 +0100 @@ -16,15 +16,15 @@ # -%define pgversion 10.22 +%define pgversion 10.23 %define pgmajor 10 %define pgsuffix %pgmajor %define buildlibs 0 %define tarversion %{pgversion} +%define latest_supported_llvm_ver 14 ### CUT HERE ### -%define pgname postgresql%pgsuffix -%define priority %pgsuffix +%define pgname postgresql%pgmajor %define libpq libpq5 %define libecpg libecpg6 %define libpq_so libpq.so.5 @@ -51,14 +51,22 @@ %define mini 0 %endif -# Use Python 2 for PostgreSQL 9.x on all platforms and for PostgreSQL 10 on SLE12. +# Use Python 2 for for PostgreSQL 10 on SLE12. # Use Python 3 for everything else. -%if %pgsuffix < 90 && ( 0%{?is_opensuse} || 0%{?sle_version} >= 150000 || %pgsuffix > 10 ) +%if 0%{?is_opensuse} || 0%{?sle_version} >= 150000 || %pgmajor > 10 %define python python3 %else %define python python %endif +%if 0%{?suse_version} >= 1500 +%bcond_without liblz4 +%endif + +%if 0%{?sle_version} >= 150100 || 0%{?suse_version} >= 1550 +%bcond_without libzstd +%endif + %if %mini %bcond_with selinux %bcond_with icu @@ -73,6 +81,14 @@ BuildRequires: tcl-devel BuildRequires: timezone BuildRequires: zlib-devel +%if %{with liblz4} +BuildRequires: pkgconfig(liblz4) +%endif + +%if %{with libzstd} +BuildRequires: pkgconfig(libzstd) +%endif + %bcond_without selinux %bcond_without icu %if !%buildlibs @@ -87,8 +103,12 @@ %bcond_with systemd_notify %endif -%if 0%{?suse_version} >= 1500 && %pgsuffix >= 11 && %pgsuffix < 90 +%if 0%{?suse_version} >= 1500 && %pgmajor >= 11 +%ifarch riscv64 +%bcond_with llvm +%else %bcond_without llvm +%endif %else %bcond_with llvm %endif @@ -100,7 +120,7 @@ %bcond_with check %endif -%if ( %pgsuffix >= 11 && %pgsuffix < 90 ) || %mini +%if %pgmajor >= 11 || %mini %bcond_without server_devel %else %bcond_with server_devel @@ -114,10 +134,15 @@ BuildRequires: libselinux-devel %endif %if %{with llvm} -BuildRequires: clang BuildRequires: gcc-c++ +%if 0%{?product_libs_llvm_ver} > %{latest_supported_llvm_ver} +BuildRequires: clang%{latest_supported_llvm_ver} +BuildRequires: llvm%{latest_supported_llvm_ver}-devel +%else +BuildRequires: clang BuildRequires: llvm-devel %endif +%endif BuildRequires: libxslt-devel BuildRequires: openldap2-devel BuildRequires: openssl-devel @@ -137,8 +162,8 @@ Group: Productivity/Databases/Tools Version: %pgversion Release: 0 -Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{tarversion}.tar.bz2 -Source1: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{tarversion}.tar.bz2.sha256 +Source0: https://ftp.postgresql.org/pub/source/v%{tarversion}/postgresql-%{tarversion}.tar.bz2 +Source1: https://ftp.postgresql.org/pub/source/v%{tarversion}/postgresql-%{tarversion}.tar.bz2.sha256 Source2: baselibs.conf Source3: postgresql-README.SUSE Source17: postgresql-rpmlintrc @@ -275,7 +300,7 @@ This package contains the header files and libraries needed to compile C extensions that link into the PostgreSQL server. For building client -applications, see the postgresql%pgsuffix-devel package. +applications, see the postgresql%pgmajor-devel package. %endif %description %devel @@ -291,7 +316,7 @@ which will interact with a PostgreSQL server. For building PostgreSQL server extensions, see the -postgresql%pgsuffix-server-devel package. +postgresql%pgmajor-server-devel package. %package server Summary: The Programs Needed to Create and Run a PostgreSQL Server @@ -398,8 +423,8 @@ Group: Productivity/Databases/Tools Provides: postgresql-contrib-implementation = %version-%release Requires: postgresql-contrib-noarch >= %pgmajor -Requires(post): %pgname >= %pgmajor -Requires: %pgname >= %pgmajor +Requires(post): %pgname >= %{version} +Requires: %pgname >= %{version} PreReq: %pgname-server = %version-%release %description contrib @@ -516,6 +541,12 @@ --with-uuid=e2fs \ --with-libxml \ --with-libxslt \ +%if %{with liblz4} + --with-lz4 \ +%endif +%if %{with libzstd} + --with-zstd \ +%endif %if %{with systemd_notify} --with-systemd \ %endif @@ -578,7 +609,7 @@ 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,input,output,sql}; do - cp -r $i %buildroot%pgtestdir/regress/ + test -d $i && cp -r $i %buildroot%pgtestdir/regress/ done install -m 0644 src/test/regress/*_schedule %buildroot%pgtestdir/regress # }}} @@ -613,7 +644,7 @@ cp -a %SOURCE3 %buildroot%pgdocdir/README.SUSE # Use versioned names for the man pages: for f in %buildroot%pgmandir/man*/*; do - mv $f ${f}pg%pgsuffix + mv $f ${f}pg%pgmajor done %endif @@ -680,6 +711,9 @@ pg_resetwal \ pg_waldump \ pg_resetxlog \ +%if %pgmajor >= 15 + pg_upgrade \ +%endif postgres \ postmaster @@ -690,7 +724,9 @@ pg_amcheck \ pg_standby \ pg_test_fsync \ +%if %pgmajor < 15 pg_upgrade \ +%endif pgbench \ vacuumlo \ pg_test_timing @@ -720,7 +756,7 @@ popd mkdir -p %buildroot%pgmandir/man1 -cp -a doc/src/sgml/man1/ecpg.1 %buildroot%pgmandir/man1/ecpg.1pg%pgsuffix +cp -a doc/src/sgml/man1/ecpg.1 %buildroot%pgmandir/man1/ecpg.1pg%pgmajor %find_lang ecpg-$VLANG devel.files ln -s %pgbindir/ecpg %buildroot%_bindir/ecpg @@ -760,25 +796,25 @@ %if %{with server_devel} %post server-devel %endif -/usr/share/postgresql/install-alternatives %priority +/usr/share/postgresql/install-alternatives %pgmajor %postun %devel /sbin/ldconfig %if %{with server_devel} %postun server-devel %endif -/usr/share/postgresql/install-alternatives %priority +/usr/share/postgresql/install-alternatives %pgmajor %if !%mini %postun -/usr/share/postgresql/install-alternatives %priority +/usr/share/postgresql/install-alternatives %pgmajor %post -/usr/share/postgresql/install-alternatives %priority +/usr/share/postgresql/install-alternatives %pgmajor %post server -/usr/share/postgresql/install-alternatives %priority +/usr/share/postgresql/install-alternatives %pgmajor %preun server # Stop only when we are uninstalling the currently running version @@ -801,7 +837,7 @@ fi %postun server -/usr/share/postgresql/install-alternatives %priority +/usr/share/postgresql/install-alternatives %pgmajor # Restart only when we are updating the currently running version # or from the old packaging scheme test -n "$FIRST_ARG" || FIRST_ARG="$1" @@ -825,10 +861,10 @@ fi %post contrib -/usr/share/postgresql/install-alternatives %priority +/usr/share/postgresql/install-alternatives %pgmajor %postun contrib -/usr/share/postgresql/install-alternatives %priority +/usr/share/postgresql/install-alternatives %pgmajor %if %buildlibs %post -n %libpq -p /sbin/ldconfig @@ -875,9 +911,7 @@ %dir %pgbasedir %dir %pgextensiondir %dir %pglibdir -%if %pgsuffix < 90 %pglibdir/pgoutput.so -%endif %pglibdir/plpgsql.so %pglibdir/dict_snowball.so %pgdatadir/tsearch_data @@ -888,9 +922,6 @@ %if %buildlibs %exclude %pgdatadir/pg_service.conf.sample %endif -%if %pgsuffix > 90 -%exclude %pgdatadir/*.pltcl -%endif %pglibdir/*_and_*.so %pglibdir/euc2004_sjis2004.so %pglibdir/libpqwalreceiver.so @@ -913,10 +944,6 @@ %defattr(-,root,root) %pgextensiondir/pltcl* %pglibdir/pltcl.so -%if %pgsuffix > 90 -%pgdatadir/*.pltcl -%pgbindir/pltcl* -%endif %files plperl -f plperl.lang %defattr(-,root,root) ++++++ postgresql-10.22.tar.bz2 -> postgresql-10.23.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/postgresql10/postgresql-10.22.tar.bz2 /work/SRC/openSUSE:Factory/.postgresql10.new.1597/postgresql-10.23.tar.bz2 differ: char 11, line 1 ++++++ postgresql-10.22.tar.bz2.sha256 -> postgresql-10.23.tar.bz2.sha256 ++++++ --- /work/SRC/openSUSE:Factory/postgresql10/postgresql-10.22.tar.bz2.sha256 2022-08-16 17:06:41.979690773 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql10.new.1597/postgresql-10.23.tar.bz2.sha256 2022-11-12 17:40:45.662022214 +0100 @@ -1 +1 @@ -955977555c69df1a64f44b81d4a1987eb74abbd1870579f5ad9d946133dd8e4d postgresql-10.22.tar.bz2 +94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9 postgresql-10.23.tar.bz2 ++++++ postgresql-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.6ccUTf/_old 2022-11-12 17:40:46.582027691 +0100 +++ /var/tmp/diff_new_pack.6ccUTf/_new 2022-11-12 17:40:46.586027715 +0100 @@ -6,4 +6,5 @@ addFilter("no-dependency-on") addFilter("no-soname") addFilter("devel-file-in-non-devel-package") +addFilter("shlib-policy-name-error")