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