forked from pool/postgresql12
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=73
This commit is contained in:
parent
9aed76975f
commit
5224d7ae28
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user