diff --git a/rules/libgit2.json b/rules/libgit2.json index 9d73368..5e6c292 100644 --- a/rules/libgit2.json +++ b/rules/libgit2.json @@ -85,16 +85,22 @@ ] }, { + "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", "distribution": "centos", "versions": ["8"] + }, + { + "os": "linux", + "distribution": "rockylinux", + "versions": ["8"] } ] }, @@ -112,12 +118,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",