From c53c966222078edb73b61e717e75dce59a71c9af Mon Sep 17 00:00:00 2001 From: Dave Page Date: Fri, 6 Jan 2023 09:33:03 +0000 Subject: [PATCH] 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. --- pkg/redhat/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/redhat/build.sh b/pkg/redhat/build.sh index 342b1f4f3..ce6cbaa29 100755 --- a/pkg/redhat/build.sh +++ b/pkg/redhat/build.sh @@ -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!