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-09-25 18:46:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postgresql16 (Old) and /work/SRC/openSUSE:Factory/.postgresql16.new.11973 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postgresql16" Thu Sep 25 18:46:08 2025 rev:18 rq:1307160 version:16.10 Changes: -------- --- /work/SRC/openSUSE:Factory/postgresql16/postgresql16.changes 2025-08-15 21:53:49.088505277 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql16.new.11973/postgresql16.changes 2025-09-25 18:48:32.286314675 +0200 @@ -1,0 +2,5 @@ +Tue Sep 23 15:04:19 UTC 2025 - Reinhard Max <[email protected]> + +- Sync spec file from version 18. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postgresql16.spec ++++++ --- /var/tmp/diff_new_pack.K9VUhz/_old 2025-09-25 18:48:33.142350504 +0200 +++ /var/tmp/diff_new_pack.K9VUhz/_new 2025-09-25 18:48:33.146350672 +0200 @@ -46,6 +46,7 @@ %if "@BUILD_FLAVOR@" == "mini" %define devel devel-mini %define mini 1 +%define buildlibs 1 Name: %pgname-mini %else %define devel devel @@ -67,6 +68,12 @@ %bcond_without derived %endif +%if %pgmajor >= 18 +%bcond_without curl +%bcond_without uring +%bcond_without numa +%endif + %if 0%{?suse_version} >= 1500 %bcond_without liblz4 %endif @@ -150,11 +157,20 @@ BuildRequires: (cmake(LLVM) >= %{oldest_supported_llvm_ver} with cmake(LLVM) < %{latest_supported_llvm_ver_plus_one}) %endif BuildRequires: libxslt-devel -BuildRequires: openldap2-devel BuildRequires: openssl-devel BuildRequires: pkg-config +BuildRequires: (pkgconfig(ldap) or openldap2-devel) BuildRequires: pkgconfig(krb5) BuildRequires: pkgconfig(libsystemd) +%if %{with curl} +BuildRequires: pkgconfig(libcurl) +%endif +%if %{with uring} +BuildRequires: pkgconfig(liburing) +%endif +%if %{with numa} +BuildRequires: pkgconfig(numa) +%endif BuildRequires: pkgconfig(systemd) #!BuildIgnore: %pgname #!BuildIgnore: %pgname-server @@ -557,6 +573,15 @@ --with-uuid=e2fs \ --with-libxml \ --with-libxslt \ +%if %{with curl} + --with-libcurl \ +%endif +%if %{with uring} + --with-liburing \ +%endif +%if %{with numa} + --with-libnuma \ +%endif %if %{with liblz4} --with-lz4 \ %endif @@ -638,9 +663,8 @@ mv %buildroot%pglibdir/pkgconfig %buildroot%_libdir find %buildroot%_libdir/pkgconfig -type f -exec sed -i 's, -L%pglibdir,,' '{}' + -# Don't ship static libraries, -# libpgport.a and libpgcommon.a are needed, though. -rm -f $(ls %buildroot/%_libdir/*.a %buildroot%pglibdir/*.a | grep -F -v -e libpgport.a -e libpgcommon.a) +# Don't ship static libraries, some of then are needed, though. +rm -f $(ls %buildroot/%_libdir/*.a %buildroot%pglibdir/*.a | grep -F -v -e libpgport.a -e libpgcommon.a -e libpgfeutils.a) %if !%mini # @@ -759,7 +783,7 @@ # Make sure we can also link agaist newer versions pushd %buildroot%_libdir -for f in *.so; do +for f in $( find -type l -name \*.so ) ; do ln -sf $f.? $f done %if 0 @@ -794,7 +818,7 @@ %pgdatadir/pg_service.conf.sample %endif EOF -find %buildroot -name 'libpq*.so.*' -printf '/%%P\n' >> libpq.files +find %buildroot \( -name 'libpq*.so.*' -o -name 'libpq-oauth*.so' \) -printf '/%%P\n' >> libpq.files %find_lang libpq5-$VLANG libpq.files cat > libecpg.files <<EOF @@ -976,7 +1000,10 @@ %dir %pgbindir %_bindir/ecpg %_libdir/pkgconfig/* -%_libdir/lib*.so +%_libdir/libecpg.so +%_libdir/libecpg_compat.so +%_libdir/libpgtypes.so +%_libdir/libpq.so %pgincludedir %if %{with server_devel}
