Skip to content

Commit

Permalink
(PA-5550) swig 4.1 generated interface does not need patched
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tw1r3 committed Dec 4, 2023
1 parent a24f37a commit ddea154
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion configs/components/_base-ruby-selinux.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@
]

if ruby_version =~ /^3/
steps << "#{platform.patch} --strip=0 --fuzz=0 --ignore-whitespace --no-backup-if-mismatch < ../selinuxswig_ruby_wrap.patch"
# swig 4.1 generated interface does not need patching
unless platform.name =~ /debian-12/
steps << "#{platform.patch} --strip=0 --fuzz=0 --ignore-whitespace --no-backup-if-mismatch < ../selinuxswig_ruby_wrap.patch"
end
end

# libselinux 3.3 is the minimum version we want to build on RHEL 9, but the
Expand Down

0 comments on commit ddea154

Please sign in to comment.