From e919adae5df9868ac666ff1533892a834b1bc249b73a505158eb2f71331eaaec Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Tue, 5 Nov 2024 11:57:02 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql16?expand=0&rev=37 --- postgresql16.changes | 2 +- postgresql16.spec | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/postgresql16.changes b/postgresql16.changes index 07bdced..43366f0 100644 --- a/postgresql16.changes +++ b/postgresql16.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Thu Sep 26 11:03:24 UTC 2024 - Reinhard Max +Tue Nov 5 11:56:16 UTC 2024 - Reinhard Max - Sync spec file from postgresql17. diff --git a/postgresql16.spec b/postgresql16.spec index 5d61a15..4901e30 100644 --- a/postgresql16.spec +++ b/postgresql16.spec @@ -20,8 +20,9 @@ %define pgmajor 16 %define buildlibs 0 %define tarversion %{pgversion} -%define oldest_supported_llvm_ver 7 -%define latest_supported_llvm_ver 18 +%define oldest_supported_llvm_ver 10 +# To be able to use cmake(LLVM) < ... +%define latest_supported_llvm_ver_plus_one 19 ### CUT HERE ### %define pgname postgresql%pgmajor @@ -145,8 +146,8 @@ BuildRequires: libselinux-devel %endif %if %{with llvm} BuildRequires: gcc-c++ -BuildRequires: (cmake(Clang) >= %{oldest_supported_llvm_ver} with cmake(Clang) <= %{latest_supported_llvm_ver}) -BuildRequires: (cmake(LLVM) >= %{oldest_supported_llvm_ver} with cmake(LLVM) <= %{latest_supported_llvm_ver}) +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}) %endif BuildRequires: libxslt-devel BuildRequires: openldap2-devel