fix(copr): add prep step to remove clippy attribute before build

This commit is contained in:
Erica Marigold 2025-01-31 12:06:57 +05:30 committed by GitHub
parent 9ea4daacbf
commit 326f40bfb5
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -35,6 +35,8 @@ Requires: glibc
%prep
%setup -q -n lune-%{version}
# Removes clippy lint attribute which is falsely flagged as a shebang in build
sed -i '/#![allow(clippy::cargo_common_metadata)]/d' lune-%{version}/crates/lune/src/main.rs
%build