Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package postgresql17 for openSUSE:Factory checked in at 2025-11-28 16:52:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postgresql17 (Old) and /work/SRC/openSUSE:Factory/.postgresql17.new.14147 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postgresql17" Fri Nov 28 16:52:35 2025 rev:14 rq:1320373 version:17.7 Changes: -------- --- /work/SRC/openSUSE:Factory/postgresql17/postgresql17.changes 2025-09-26 22:25:08.367570406 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql17.new.14147/postgresql17.changes 2025-11-28 16:54:14.265583943 +0100 @@ -1,0 +2,27 @@ +Mon Nov 24 16:32:47 UTC 2025 - Reinhard Max <[email protected]> + +- Fix build with uring for post SLE15 code streams. + +------------------------------------------------------------------- +Fri Nov 14 17:07:50 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:22:22 UTC 2025 - Reinhard Max <[email protected]> + +- Update to 17.7: + * https://www.postgresql.org/about/news/p-3171/ + * https://www.postgresql.org/docs/release/17.7/ + * 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-17.6.tar.bz2 postgresql-17.6.tar.bz2.sha256 New: ---- postgresql-17.7.tar.bz2 postgresql-17.7.tar.bz2.sha256 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postgresql17.spec ++++++ --- /var/tmp/diff_new_pack.1kb480/_old 2025-11-28 16:54:16.581681461 +0100 +++ /var/tmp/diff_new_pack.1kb480/_new 2025-11-28 16:54:16.581681461 +0100 @@ -16,13 +16,8 @@ # -%define pgversion 17.6 %define pgmajor 17 -%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 7 ### 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-17.6.tar.bz2 -> postgresql-17.7.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/postgresql17/postgresql-17.6.tar.bz2 /work/SRC/openSUSE:Factory/.postgresql17.new.14147/postgresql-17.7.tar.bz2 differ: char 11, line 1 ++++++ postgresql-17.6.tar.bz2.sha256 -> postgresql-17.7.tar.bz2.sha256 ++++++ --- /work/SRC/openSUSE:Factory/postgresql17/postgresql-17.6.tar.bz2.sha256 2025-08-16 20:38:29.938041145 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql17.new.14147/postgresql-17.7.tar.bz2.sha256 2025-11-28 16:54:14.093576701 +0100 @@ -1 +1 @@ -e0630a3600aea27511715563259ec2111cd5f4353a4b040e0be827f94cd7a8b0 postgresql-17.6.tar.bz2 +ef9e343302eccd33112f1b2f0247be493cb5768313adeb558b02de8797a2e9b5 postgresql-17.7.tar.bz2
