From 1352efc33e8e7d6c5c5c06377287218b09a1c526 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Fri, 31 Jan 2025 12:45:55 +0530 Subject: [PATCH] fix(copr): just remove the first line with sed instead of pattern --- package/copr/lune.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/copr/lune.spec b/package/copr/lune.spec index 35eb4f5..eeb8607 100644 --- a/package/copr/lune.spec +++ b/package/copr/lune.spec @@ -35,8 +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' crates/lune/src/main.rs +# 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 %build