Reinhard Max 2022-09-05 15:46:40 +00:00 committed by Git OBS Bridge
parent c8ea5bca4f
commit a45a370161

View File

@ -42,7 +42,7 @@
%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))
%define buildlibs (%{pgmajor} == %(rpm -q --qf %{VERSION} postgresql | cut -c 1-2))
Name: %pgname
%if "@BUILD_FLAVOR@" == "mini"