diff --git a/postgresql15.changes b/postgresql15.changes index 1ce21c8..a7e6b66 100644 --- a/postgresql15.changes +++ b/postgresql15.changes @@ -21,8 +21,6 @@ Mon Sep 5 09:20:34 UTC 2022 - Reinhard Max - Update to 15~beta3 https://www.postgresql.org/about/news/p-2496/ -- Only build the client libs if the major version matches with the - noarch package, iow. if we are building the latest version. ------------------------------------------------------------------- Sat May 21 20:48:45 UTC 2022 - Marcus Rueckert diff --git a/postgresql15.spec b/postgresql15.spec index c004866..5784b8a 100644 --- a/postgresql15.spec +++ b/postgresql15.spec @@ -19,6 +19,7 @@ %define pgversion 15~beta4 %define pgmajor 15 %define pgsuffix %pgmajor +%define buildlibs 1 %define tarversion 15beta4 %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 -c 1-2)) - Name: %pgname %if "@BUILD_FLAVOR@" == "mini" %define devel devel-mini