diff --git a/rust-afterburn.spec b/rust-afterburn.spec index 89acc6a..dc6ec54 100644 --- a/rust-afterburn.spec +++ b/rust-afterburn.spec @@ -110,6 +110,8 @@ to run in the initramfs on boot. %autosetup -n %{crate}-%{version_no_tilde} -p1 %{?rhel:-a1} %if 0%{?rhel} %cargo_prep -v vendor +# avoid brp-mangle-shebangs error from sources with executable bit +chmod -x vendor/ipnet/src/*.rs %else %cargo_prep %endif