mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-02-28 16:33:35 +00:00
fix(copr): remove attributes in first line from all source files
This commit is contained in:
parent
1352efc33e
commit
94f5b37a43
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ Requires: glibc
|
|||
%prep
|
||||
%setup -q -n lune-%{version}
|
||||
# Removes the first line containing clippy lint attribute which is falsely flagged as a shebang in build
|
||||
sed -i '1d' crates/lune/src/main.rs
|
||||
find . -type f -name "*.rs" -exec perl -i -ne 'print unless /^\#!\[/ ' {} +
|
||||
|
||||
|
||||
%build
|
||||
|
|
Loading…
Add table
Reference in a new issue