Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package postgresql18 for openSUSE:Factory checked in at 2025-12-01 11:11:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postgresql18 (Old) and /work/SRC/openSUSE:Factory/.postgresql18.new.14147 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postgresql18" Mon Dec 1 11:11:19 2025 rev:2 rq:1320372 version:18.1 Changes: -------- --- /work/SRC/openSUSE:Factory/postgresql18/postgresql18.changes 2025-09-26 22:25:10.503660494 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql18.new.14147/postgresql18.changes 2025-12-01 11:11:23.561611840 +0100 @@ -1,0 +2,27 @@ +Mon Nov 24 16:22:39 UTC 2025 - Reinhard Max <[email protected]> + +- Fix build with uring for post SLE15 code streams. + +------------------------------------------------------------------- +Fri Nov 14 11:22:23 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:08:05 UTC 2025 - Reinhard Max <[email protected]> + +- Update to 18.1: + * https://www.postgresql.org/about/news/p-3171/ + * https://www.postgresql.org/docs/release/18.1/ + * 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-18.0.tar.bz2 postgresql-18.0.tar.bz2.sha256 New: ---- postgresql-18.1.tar.bz2 postgresql-18.1.tar.bz2.sha256 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postgresql18.spec ++++++ --- /var/tmp/diff_new_pack.cXm0U6/_old 2025-12-01 11:11:27.429775463 +0100 +++ /var/tmp/diff_new_pack.cXm0U6/_new 2025-12-01 11:11:27.469777155 +0100 @@ -16,13 +16,8 @@ # -%define pgversion 18.0 %define pgmajor 18 -%define buildlibs 1 -%define tarversion 18.0 -%define oldest_supported_llvm_ver 10 -# To be able to use cmake(LLVM) < ... -%define latest_supported_llvm_ver_plus_one 19 +%define pgminor 1 ### 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 @@ -153,13 +156,22 @@ %endif %if %{with llvm} 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: clang%{product_libs_llvm_ver} +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 @@ -325,7 +333,6 @@ 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 @@ -335,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 @@ -809,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) @@ -843,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 @@ -1008,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-18.0.tar.bz2 -> postgresql-18.1.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/postgresql18/postgresql-18.0.tar.bz2 /work/SRC/openSUSE:Factory/.postgresql18.new.14147/postgresql-18.1.tar.bz2 differ: char 11, line 1 ++++++ postgresql-18.0.tar.bz2.sha256 -> postgresql-18.1.tar.bz2.sha256 ++++++ --- /work/SRC/openSUSE:Factory/postgresql18/postgresql-18.0.tar.bz2.sha256 2025-09-26 22:25:10.435657626 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql18.new.14147/postgresql-18.1.tar.bz2.sha256 2025-12-01 11:11:23.253598811 +0100 @@ -1 +1 @@ -0d5b903b1e5fe361bca7aa9507519933773eb34266b1357c4e7780fdee6d6078 postgresql-18.0.tar.bz2 +ff86675c336c46e98ac991ebb306d1b67621ece1d06787beaade312c2c915d54 postgresql-18.1.tar.bz2
