Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package postgresql13 for openSUSE:Factory checked in at 2022-10-04 20:37:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postgresql13 (Old) and /work/SRC/openSUSE:Factory/.postgresql13.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postgresql13" Tue Oct 4 20:37:26 2022 rev:18 rq:1006684 version:13.8 Changes: -------- --- /work/SRC/openSUSE:Factory/postgresql13/postgresql13.changes 2022-08-16 17:06:46.979705725 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql13.new.2275/postgresql13.changes 2022-10-04 20:37:30.820898208 +0200 @@ -1,0 +2,17 @@ +Thu Sep 22 21:26:36 UTC 2022 - Aaron Puchert <aaronpuch...@alice-dsl.net> + +- Create mechanism to specify the latest supported LLVM version. + Automatically pin to that version if the distribution has a newer + unsupported default version. + +------------------------------------------------------------------- +Tue Sep 13 12:38:38 UTC 2022 - Reinhard Max <m...@suse.com> + +- Sync spec file with postgresql15. + +------------------------------------------------------------------- +Mon Sep 12 07:52:42 UTC 2022 - Andreas Schwab <sch...@suse.de> + +- Disable LLVM JIT on riscv64 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postgresql13.spec ++++++ --- /var/tmp/diff_new_pack.M8V8mc/_old 2022-10-04 20:37:32.492900585 +0200 +++ /var/tmp/diff_new_pack.M8V8mc/_new 2022-10-04 20:37:32.496900591 +0200 @@ -21,6 +21,7 @@ %define pgsuffix %pgmajor %define buildlibs 0 %define tarversion %{pgversion} +%define latest_supported_llvm_ver 14 ### CUT HERE ### %define pgname postgresql%pgsuffix @@ -59,6 +60,14 @@ %define python python %endif +%if 0%{?suse_version} >= 1500 +%bcond_without liblz4 +%endif + +%if 0%{?sle_version} >= 150100 || 0%{?suse_version} >= 1550 +%bcond_without libzstd +%endif + %if %mini %bcond_with selinux %bcond_with icu @@ -73,6 +82,14 @@ BuildRequires: tcl-devel BuildRequires: timezone BuildRequires: zlib-devel +%if %{with liblz4} +BuildRequires: pkgconfig(liblz4) +%endif + +%if %{with libzstd} +BuildRequires: pkgconfig(libzstd) +%endif + %bcond_without selinux %bcond_without icu %if !%buildlibs @@ -88,7 +105,11 @@ %endif %if 0%{?suse_version} >= 1500 && %pgsuffix >= 11 && %pgsuffix < 90 +%ifarch riscv64 +%bcond_with llvm +%else %bcond_without llvm +%endif %else %bcond_with llvm %endif @@ -114,10 +135,15 @@ BuildRequires: libselinux-devel %endif %if %{with llvm} -BuildRequires: clang BuildRequires: gcc-c++ +%if 0%{?product_libs_llvm_ver} > %{latest_supported_llvm_ver} +BuildRequires: clang%{latest_supported_llvm_ver} +BuildRequires: llvm%{latest_supported_llvm_ver}-devel +%else +BuildRequires: clang BuildRequires: llvm-devel %endif +%endif BuildRequires: libxslt-devel BuildRequires: openldap2-devel BuildRequires: openssl-devel @@ -398,8 +424,8 @@ Group: Productivity/Databases/Tools Provides: postgresql-contrib-implementation = %version-%release Requires: postgresql-contrib-noarch >= %pgmajor -Requires(post): %pgname >= %pgmajor -Requires: %pgname >= %pgmajor +Requires(post): %pgname >= %{version} +Requires: %pgname >= %{version} PreReq: %pgname-server = %version-%release %description contrib @@ -516,6 +542,12 @@ --with-uuid=e2fs \ --with-libxml \ --with-libxslt \ +%if %{with liblz4} + --with-lz4 \ +%endif +%if %{with libzstd} + --with-zstd \ +%endif %if %{with systemd_notify} --with-systemd \ %endif @@ -578,7 +610,7 @@ install -sm 0755 contrib/spi/{refint.so,autoinc.so} %buildroot%pgtestdir/regress install -sm 0755 src/test/regress/{pg_regress,regress.so} %buildroot%pgtestdir/regress for i in src/test/regress/{data,expected,input,output,sql}; do - cp -r $i %buildroot%pgtestdir/regress/ + test -d $i && cp -r $i %buildroot%pgtestdir/regress/ done install -m 0644 src/test/regress/*_schedule %buildroot%pgtestdir/regress # }}}