Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package postgresql14 for openSUSE:Factory checked in at 2025-11-28 16:52:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postgresql14 (Old) and /work/SRC/openSUSE:Factory/.postgresql14.new.14147 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postgresql14" Fri Nov 28 16:52:49 2025 rev:28 rq:1320377 version:14.20 Changes: -------- --- /work/SRC/openSUSE:Factory/postgresql14/postgresql14.changes 2025-09-25 18:48:25.026010797 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql14.new.14147/postgresql14.changes 2025-11-28 16:54:30.438264885 +0100 @@ -1,0 +2,27 @@ +Mon Nov 24 16:49:27 UTC 2025 - Reinhard Max <[email protected]> + +- Fix build with uring for post SLE15 code streams. + +------------------------------------------------------------------- +Fri Nov 14 15:43:43 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:35:35 UTC 2025 - Reinhard Max <[email protected]> + +- Upgrade to 14.20: + * https://www.postgresql.org/about/news/p-3171/ + * https://www.postgresql.org/docs/release/14.20/ + * 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-14.19.tar.bz2 postgresql-14.19.tar.bz2.sha256 New: ---- postgresql-14.20.tar.bz2 postgresql-14.20.tar.bz2.sha256 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postgresql14.spec ++++++ --- /var/tmp/diff_new_pack.dyUMSn/_old 2025-11-28 16:54:32.334344718 +0100 +++ /var/tmp/diff_new_pack.dyUMSn/_new 2025-11-28 16:54:32.334344718 +0100 @@ -16,13 +16,8 @@ # -%define pgversion 14.19 %define pgmajor 14 -%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 20 ### 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-14.19.tar.bz2 -> postgresql-14.20.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/postgresql14/postgresql-14.19.tar.bz2 /work/SRC/openSUSE:Factory/.postgresql14.new.14147/postgresql-14.20.tar.bz2 differ: char 11, line 1 ++++++ postgresql-14.19.tar.bz2.sha256 -> postgresql-14.20.tar.bz2.sha256 ++++++ --- /work/SRC/openSUSE:Factory/postgresql14/postgresql-14.19.tar.bz2.sha256 2025-08-15 21:53:46.480396825 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql14.new.14147/postgresql-14.20.tar.bz2.sha256 2025-11-28 16:54:30.426264379 +0100 @@ -1 +1 @@ -727e9e334bc1a31940df808259f69fe47a59f6d42174b22ae62d67fe7a01ad80 postgresql-14.19.tar.bz2 +7527f10f1640761bc280ad97d105d286d0cf72e54d36d78cf68e5e5f752b646b postgresql-14.20.tar.bz2
