Reinhard Max 2022-09-23 16:15:45 +00:00 committed by Git OBS Bridge
parent 66c4d04e6c
commit 8170a89340

View File

@ -19,6 +19,7 @@
%define pgversion 14.5
%define pgmajor 14
%define pgsuffix %pgmajor
%define buildlibs 0
%define tarversion %{pgversion}
%define latest_supported_llvm_ver 14
@ -42,9 +43,6 @@
%define requires_file() %( readlink -f '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} >= %%{epoch}:%%{version}\\n' -f | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
# Only build client libraries of the latest version.
%define buildlibs (%{pgmajor} == %(rpm -q --qf %{VERSION} postgresql | cut -d. -f1))
Name: %pgname
%if "@BUILD_FLAVOR@" == "mini"
%define devel devel-mini