Skip to content

Commit

Permalink
Fix Ruby and NodeJS version requirements in ondemand-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock committed Nov 7, 2024
1 parent bc321d7 commit a954026
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/ondemand-runtime/rpm/ondemand-runtime.spec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
%global ruby ruby
%global nodejs nodejs
%global apache httpd
%global ruby_version 3.1
%global ruby_version 3.3
%endif
%if 0%{?amzn} == 2023
%global ruby ruby3.2
Expand Down Expand Up @@ -58,7 +58,7 @@ packages depending on %{scl} Software Collection.
%package -n ondemand-ruby
Summary: Meta package for pulling in SCL Ruby %{ruby}
%if 0%{?rhel} >= 8
Requires: %{ruby} >= 3.1, %{ruby} < 3.2
Requires: %{ruby} >= 3.3, %{ruby} < 3.4
Requires: rubygem-rake
Requires: rubygem-bundler >= 2.1
Requires: ruby-devel
Expand Down Expand Up @@ -87,11 +87,11 @@ Meta package for pulling in SCL Ruby %{ruby}
%package -n ondemand-nodejs
Summary: Meta package for pulling in SCL nodejs %{nodejs}
%if 0%{?rhel} == 9
Requires: %{nodejs} >= 1:18.0, %{nodejs} < 1:19.0
Requires: %{nodejs} >= 1:20.0, %{nodejs} < 1:21.0
Requires: npm
%endif
%if 0%{?rhel} == 8
Requires: %{nodejs} >= 1:18.0, %{nodejs} < 1:19.0
Requires: %{nodejs} >= 1:20.0, %{nodejs} < 1:21.0
Requires: npm
%endif
%if 0%{?amzn} == 2023
Expand Down

0 comments on commit a954026

Please sign in to comment.