Reinhard Max 2024-11-05 11:57:02 +00:00 committed by Git OBS Bridge
parent baac25ce91
commit e919adae5d
2 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,5 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 26 11:03:24 UTC 2024 - Reinhard Max <max@suse.com> Tue Nov 5 11:56:16 UTC 2024 - Reinhard Max <max@suse.com>
- Sync spec file from postgresql17. - Sync spec file from postgresql17.

View File

@ -20,8 +20,9 @@
%define pgmajor 16 %define pgmajor 16
%define buildlibs 0 %define buildlibs 0
%define tarversion %{pgversion} %define tarversion %{pgversion}
%define oldest_supported_llvm_ver 7 %define oldest_supported_llvm_ver 10
%define latest_supported_llvm_ver 18 # To be able to use cmake(LLVM) < ...
%define latest_supported_llvm_ver_plus_one 19
### CUT HERE ### ### CUT HERE ###
%define pgname postgresql%pgmajor %define pgname postgresql%pgmajor
@ -145,8 +146,8 @@ BuildRequires: libselinux-devel
%endif %endif
%if %{with llvm} %if %{with llvm}
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: (cmake(Clang) >= %{oldest_supported_llvm_ver} with cmake(Clang) <= %{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}) BuildRequires: (cmake(LLVM) >= %{oldest_supported_llvm_ver} with cmake(LLVM) < %{latest_supported_llvm_ver_plus_one})
%endif %endif
BuildRequires: libxslt-devel BuildRequires: libxslt-devel
BuildRequires: openldap2-devel BuildRequires: openldap2-devel