Skip to content

Commit

Permalink
Install newer libgit2 on RHEL 8 for git2r
Browse files Browse the repository at this point in the history
  • Loading branch information
glin committed Jan 6, 2025
1 parent 68aeade commit e7fd9d7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions rules/libgit2.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit e7fd9d7

Please sign in to comment.