diff --git a/package/copr/lune.spec b/package/copr/lune.spec index 3eaef9d..e282dfc 100644 --- a/package/copr/lune.spec +++ b/package/copr/lune.spec @@ -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