From 09aea441c86df51fb58cb23bc3f074afab0be124 Mon Sep 17 00:00:00 2001 From: Andrei Pavel Date: Wed, 5 Feb 2025 16:17:15 +0200 Subject: [PATCH] [#3711] hammer.py: Switch to libpq in RHEL too --- hammer.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/hammer.py b/hammer.py index db514bf015..2f41c97efe 100755 --- a/hammer.py +++ b/hammer.py @@ -1806,11 +1806,8 @@ def install_packages_local(system, revision, features, check_times, ignore_error packages.extend(['mariadb-connector-c-devel']) if 'pgsql' in features: - packages.extend(['postgresql', 'postgresql-server']) - if int(revision) <= 8: - packages.append('libpq-devel') - else: - packages.append('postgresql-private-devel') + execute('sudo dnf remove -y postgresql-private-devel', raise_error=False) + packages.extend(['libpq-devel', 'postgresql', 'postgresql-server']) if 'gssapi' in features: packages.extend(['krb5-devel'])