File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 7979 if ruby_version =~ /^3/
8080 # swig 4.1 generated interface does not need patching
8181 if ( !platform . is_debian? || platform . os_version . to_i < 12 ) &&
82+ ( !platform . is_fedora? || platform . os_version . to_i < 40 ) &&
8283 ( !platform . is_ubuntu? || platform . os_version . to_i < 24 )
8384 steps << "#{ platform . patch } --strip=0 --fuzz=0 --ignore-whitespace --no-backup-if-mismatch < ../selinuxswig_ruby_wrap.patch"
8485 end
Original file line number Diff line number Diff line change 1+ platform 'fedora-40-x86_64' do |plat |
2+ plat . servicedir '/usr/lib/systemd/system'
3+ plat . defaultdir '/etc/sysconfig'
4+ plat . servicetype 'systemd'
5+ plat . dist 'fc40'
6+
7+ packages = %w[
8+ autoconf automake bzip2-devel gcc gcc-c++ libselinux-devel
9+ libsepol libsepol-devel make cmake pkgconfig readline-devel
10+ rpmdevtools rsync swig zlib-devel systemtap-sdt-devel
11+ perl-lib perl-FindBin
12+ ]
13+ plat . provision_with ( "/usr/bin/dnf install -y --best --allowerasing #{ packages . join ( ' ' ) } " )
14+
15+ plat . install_build_dependencies_with '/usr/bin/dnf install -y --best --allowerasing'
16+
17+ plat . docker_image 'fedora:40'
18+ plat . docker_run_args [ '--tty' , '--entrypoint=/bin/sh' ]
19+ plat . use_docker_exec true
20+ end
You can’t perform that action at this time.
0 commit comments