diff --git a/rust-afterburn.spec b/rust-afterburn.spec index b8241fc..be4370b 100644 --- a/rust-afterburn.spec +++ b/rust-afterburn.spec @@ -105,6 +105,8 @@ to run in the initramfs on boot. %if 0%{?rhel} && !0%{?eln} tar xvf %{SOURCE1} %cargo_prep -v vendor +# avoid brp-mangle-shebangs error from sources with executable bit +chmod -x vendor/ipnet/src/*.rs %else %cargo_prep %endif