lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.9.6 vs lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.9.7
- old
+ new
@@ -35,16 +35,21 @@
package 'gdbm-devel'
package 'gmp-devel'
package 'libffi-devel'
package 'libyaml-devel'
# rust package only provide after rhel 8
- if node[:platform] == 'redhat' && node[:platform_version].to_f > 8.0
+ if node[:platform] == 'redhat' && node[:platform_version].to_f > 8.0 ||
+ node[:platform] == 'fedora' && node[:platform_version].to_i >= 28
package 'rust' # for yjit
end
package 'ncurses-devel'
package 'openssl-devel'
package 'readline-devel'
- package 'zlib-devel'
+ if node[:platform] == 'fedora' && node[:platform_version].to_i >= 40
+ package 'zlib-ng-compat-devel'
+ else
+ package 'zlib-devel'
+ end
when 'osx', 'darwin'
package 'libffi'
package 'libyaml'
package 'openssl'
when 'arch'