Reinhard Max 2022-09-23 16:03:25 +00:00 committed by Git OBS Bridge
parent 9aed76975f
commit 5224d7ae28

View File

@ -19,6 +19,7 @@
%define pgversion 12.12
%define pgmajor 12
%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