Revert to using postgresql-libs

The libpq5 package currently has a dependency on libzstd, which is only in EPEL on EL7.
Use postgresql-libs instead for now. 
We need to change this back to libpq5 if/when the RPM is fixed, so we can include the -devel package.
This commit is contained in:
Dave Page
2023-01-06 09:33:03 +00:00
committed by GitHub
parent 895feeb4ad
commit c53c966222

View File

@@ -68,7 +68,7 @@ Summary: The core server package for pgAdmin.
License: PostgreSQL
URL: https://www.pgadmin.org/
Requires: python3, libpq5 >= 11, krb5-libs
Requires: python3, postgresql-libs >= 11, krb5-libs
%description
The core server package for pgAdmin. pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
@@ -230,7 +230,7 @@ if [ "${OS_VERSION}" == 7 ]; then
fi
# Get the libpq we need
yumdownloader -y --downloadonly --destdir="${DISTROOT}" libpq5 libpq5-devel
yumdownloader -y --downloadonly --destdir="${DISTROOT}" postgresql$(ls -d /usr/pgsql-1* | sort -r | head -1 | awk -F '-' '{ print $2 }')-libs
#
# Get the results!