Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package postgresql16 for openSUSE:Factory checked in at 2025-11-28 16:52:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postgresql16 (Old) and /work/SRC/openSUSE:Factory/.postgresql16.new.14147 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postgresql16" Fri Nov 28 16:52:40 2025 rev:19 rq:1320374 version:16.11 Changes: -------- --- /work/SRC/openSUSE:Factory/postgresql16/postgresql16.changes 2025-09-25 18:48:32.286314675 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql16.new.14147/postgresql16.changes 2025-11-28 16:54:17.921737883 +0100 @@ -1,0 +2,27 @@ +Mon Nov 24 16:44:38 UTC 2025 - Reinhard Max <[email protected]> + +- Fix build with uring for post SLE15 code streams. + +------------------------------------------------------------------- +Fri Nov 14 15:45:41 UTC 2025 - Reinhard Max <[email protected]> + +- Use %product_libs_llvm_ver to determine the LLVM version. +- Remove conditionals for obsolete PostgreSQL releases. + +------------------------------------------------------------------- +Wed Nov 12 15:23:58 UTC 2025 - Reinhard Max <[email protected]> + +- Upgrade to 16.11: + * https://www.postgresql.org/about/news/p-3171/ + * https://www.postgresql.org/docs/release/16.11/ + * bsc#1253332, CVE-2025-12817: Missing check for CREATE + privileges on the schema in CREATE STATISTICS allowed table + owners to create statistics in any schema, potentially leading + to unexpected naming conflicts. + * bsc#1253333, CVE-2025-12818: Several places in libpq were not + sufficiently careful about computing the required size of a + memory allocation. Sufficiently large inputs could cause + integer overflow, resulting in an undersized buffer, which + would then lead to writing past the end of the buffer. + +------------------------------------------------------------------- Old: ---- postgresql-16.10.tar.bz2 postgresql-16.10.tar.bz2.sha256 New: ---- postgresql-16.11.tar.bz2 postgresql-16.11.tar.bz2.sha256 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postgresql16.spec ++++++ --- /var/tmp/diff_new_pack.KZGbN9/_old 2025-11-28 16:54:19.845818896 +0100 +++ /var/tmp/diff_new_pack.KZGbN9/_new 2025-11-28 16:54:19.849819064 +0100 @@ -16,13 +16,8 @@ # -%define pgversion 16.10 %define pgmajor 16 -%define buildlibs 0 -%define tarversion %{pgversion} -%define oldest_supported_llvm_ver 10 -# To be able to use cmake(LLVM) < ... -%define latest_supported_llvm_ver_plus_one 19 +%define pgminor 11 ### CUT HERE ### %define pgname postgresql%pgmajor @@ -40,6 +35,16 @@ %define pgextensiondir %pgdatadir/extension %define pgcontribdir %pgdatadir/contrib %define pgmandir %_mandir +%define pgversion %{pgmajor}.%{pgminor} +%define tarversion %{pgversion}%{?prerelease} + +%if %pgmajor == 18 || ( %pgmajor == 17 && 0%{?sle_version} == 120200 ) +# We still build the libs for PG 17 on SLE-12-SP2, because +# newer PG versions will only be released for SP5. +%define buildlibs 1 +%else +%define buildlibs 0 +%endif %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") @@ -54,13 +59,8 @@ Name: %pgname %endif -# Use Python 2 for for PostgreSQL 10 on SLE12. -# Use Python 3 for everything else. -%if 0%{?is_opensuse} || 0%{?sle_version} >= 150000 || %pgmajor > 10 +# Use Python 3 for everything. %define python python3 -%else -%define python python -%endif %if %pgmajor >= 17 %bcond_with derived @@ -68,10 +68,18 @@ %bcond_without derived %endif -%if %pgmajor >= 18 -%bcond_without curl -%bcond_without uring -%bcond_without numa +%if %pgmajor >= 18 && 0%{?suse_version} >= 1500 + %bcond_without curl + %if 0%{?sle_version} >= 150400 || 0%{?suse_version} >= 1600 + %bcond_without uring + %else + %bcond_with uring + %endif + %bcond_without numa +%else + %bcond_with curl + %bcond_with uring + %bcond_with numa %endif %if 0%{?suse_version} >= 1500 @@ -121,11 +129,12 @@ BuildRequires: %libpq %endif -%if 0%{?suse_version} >= 1500 && %pgmajor >= 11 +%if 0%{?suse_version} >= 1500 %ifarch riscv64 loongarch64 %bcond_with llvm %else %bcond_without llvm +%{!?product_libs_llvm_ver: %global product_libs_llvm_ver 15} %endif %else %bcond_with llvm @@ -138,12 +147,6 @@ %bcond_with check %endif -%if %pgmajor >= 11 || %mini -%bcond_without server_devel -%else -%bcond_with server_devel -%endif - BuildRequires: fdupes %if %{with icu} BuildRequires: libicu-devel @@ -152,14 +155,23 @@ BuildRequires: libselinux-devel %endif %if %{with llvm} +BuildRequires: clang%{product_libs_llvm_ver} BuildRequires: gcc-c++ -BuildRequires: (cmake(Clang) >= %{oldest_supported_llvm_ver} with cmake(Clang) < %{latest_supported_llvm_ver_plus_one}) -BuildRequires: (cmake(LLVM) >= %{oldest_supported_llvm_ver} with cmake(LLVM) < %{latest_supported_llvm_ver_plus_one}) +BuildRequires: llvm%{product_libs_llvm_ver}-devel %endif BuildRequires: libxslt-devel -BuildRequires: openssl-devel BuildRequires: pkg-config +%if 0%{?suse_version} >= 1500 +BuildRequires: openssl-devel BuildRequires: (pkgconfig(ldap) or openldap2-devel) +%else +%if 0%{?sle_version} >= 120400 +BuildRequires: libopenssl-1_1-devel +%else +BuildRequires: openssl-devel +%endif +BuildRequires: openldap2-devel +%endif BuildRequires: pkgconfig(krb5) BuildRequires: pkgconfig(libsystemd) %if %{with curl} @@ -293,13 +305,9 @@ Provides: postgresql-devel-exclusive = %pgmajor Conflicts: postgresql-devel-exclusive < %pgmajor -%if %{with server_devel} %package server-devel Summary: PostgreSQL server development header files and utilities Group: Development/Libraries/C and C++ -%else -Provides: %pgname-server-devel = %version-%release -%endif Provides: postgresql-server-devel = %version-%release Provides: postgresql-server-devel-implementation = %version-%release Requires(post): postgresql-server-devel-noarch >= %pgmajor @@ -318,11 +326,13 @@ %if %{with selinux} Requires: libselinux-devel %endif +%if %{with numa} +Requires: pkgconfig(numa) +%endif %if %{with llvm} Recommends: %pgname-llvmjit-devel = %version-%release %endif -%if %{with server_devel} %description server-devel PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including @@ -332,7 +342,6 @@ 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%pgmajor-devel package. -%endif %description -n %pgname-%devel PostgreSQL is an advanced object-relational database management system @@ -806,10 +815,6 @@ ln -s %pgbindir/pg_config %buildroot%_bindir/pg_config %endif -%if %{without server_devel} -cat server-devel.files >> devel.files -%endif - # Build up the file lists for the libpq and libecpg packages cat > libpq.files <<EOF %defattr(-,root,root) @@ -840,13 +845,11 @@ %postun -n %pgname-%devel /sbin/ldconfig -%if %{with server_devel} %post server-devel /usr/share/postgresql/install-alternatives %pgmajor %postun server-devel /usr/share/postgresql/install-alternatives %pgmajor -%endif %if !%mini @@ -1005,16 +1008,11 @@ %_libdir/libpgtypes.so %_libdir/libpq.so %pgincludedir - -%if %{with server_devel} %exclude %pgincludedir/server -%endif %if !%mini %doc %pgmandir/man1/ecpg.1* -%if %{with server_devel} %files server-devel -f server-devel.files -%endif %defattr(-,root,root) %ghost %_bindir/pg_config %pgbindir/pg_config ++++++ postgresql-16.10.tar.bz2 -> postgresql-16.11.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/postgresql16/postgresql-16.10.tar.bz2 /work/SRC/openSUSE:Factory/.postgresql16.new.14147/postgresql-16.11.tar.bz2 differ: char 11, line 1 ++++++ postgresql-16.10.tar.bz2.sha256 -> postgresql-16.11.tar.bz2.sha256 ++++++ --- /work/SRC/openSUSE:Factory/postgresql16/postgresql-16.10.tar.bz2.sha256 2025-08-15 21:53:49.080504944 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql16.new.14147/postgresql-16.11.tar.bz2.sha256 2025-11-28 16:54:17.909737378 +0100 @@ -1 +1 @@ -de8485f4ce9c32e3ddfeef0b7c261eed1cecb54c9bcd170e437ff454cb292b42 postgresql-16.10.tar.bz2 +6deb08c23d03d77d8f8bd1c14049eeef64aef8968fd8891df2dfc0b42f178eac postgresql-16.11.tar.bz2
