Skip to content

Commit

Permalink
Merge pull request #202 from rstudio/netcdf4
Browse files Browse the repository at this point in the history
Fix netcdf4 for RHEL 8
  • Loading branch information
glin authored Jan 9, 2025
2 parents 68aeade + 516f93f commit e2f41c3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions rules/netcdf4.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
{
"packages": ["netcdf-devel"],
"pre_install": [
{
"command": "dnf install -y epel-release"
}
{ "command": "dnf install -y dnf-plugins-core" },
{ "command": "dnf config-manager --set-enabled powertools" },
{ "command": "dnf install -y epel-release" }
],
"constraints": [
{
Expand All @@ -53,7 +53,8 @@
},
{
"os": "linux",
"distribution": "rockylinux"
"distribution": "rockylinux",
"versions": ["8"]
}
]
},
Expand Down Expand Up @@ -112,9 +113,8 @@
{
"packages": ["netcdf-devel"],
"pre_install": [
{
"command": "dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm"
}
{ "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" }
],
"constraints": [
{
Expand Down

0 comments on commit e2f41c3

Please sign in to comment.