mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-02-28 16:33:35 +00:00
fix(copr): add prep step to remove clippy attribute before build
This commit is contained in:
parent
9ea4daacbf
commit
326f40bfb5
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue