From e7fd9d7f7aa76d31b91954d3ab16f48974e3dfbd Mon Sep 17 00:00:00 2001 From: Greg Lin Date: Mon, 6 Jan 2025 16:15:15 -0600 Subject: [PATCH] Install newer libgit2 on RHEL 8 for git2r --- rules/libgit2.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/rules/libgit2.json b/rules/libgit2.json index 9d73368..3493db2 100644 --- a/rules/libgit2.json +++ b/rules/libgit2.json @@ -85,11 +85,12 @@ ] }, { + "packages": ["libgit2_1.7-devel"], "pre_install": [ - { "command": "dnf install -y dnf-plugins-core" }, - { "command": "dnf config-manager --set-enabled powertools" } + { + "command": "dnf install -y epel-release" + } ], - "packages": ["libgit2-devel"], "constraints": [ { "os": "linux", @@ -112,12 +113,12 @@ ] }, { + "packages": ["libgit2_1.7-devel"], "pre_install": [ { - "command": "subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms" + "command": "dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" } ], - "packages": ["libgit2-devel"], "constraints": [ { "os": "linux",