OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql14?expand=0&rev=39
This commit is contained in:
parent
66c4d04e6c
commit
8170a89340
@ -19,6 +19,7 @@
|
|||||||
%define pgversion 14.5
|
%define pgversion 14.5
|
||||||
%define pgmajor 14
|
%define pgmajor 14
|
||||||
%define pgsuffix %pgmajor
|
%define pgsuffix %pgmajor
|
||||||
|
%define buildlibs 0
|
||||||
%define tarversion %{pgversion}
|
%define tarversion %{pgversion}
|
||||||
%define latest_supported_llvm_ver 14
|
%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")
|
%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
|
Name: %pgname
|
||||||
%if "@BUILD_FLAVOR@" == "mini"
|
%if "@BUILD_FLAVOR@" == "mini"
|
||||||
%define devel devel-mini
|
%define devel devel-mini
|
||||||
|
Loading…
Reference in New Issue
Block a user