From 4449838282e273c4014797d5f919d8e00a84135b Mon Sep 17 00:00:00 2001 From: Ali Abdelaal Date: Thu, 11 Dec 2025 22:55:49 +0000 Subject: [PATCH] Fix: remove cargo_prep which deletes Cargo.lock --- distro-packaging/asusctl.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/distro-packaging/asusctl.spec b/distro-packaging/asusctl.spec index 29f756c6..5da24507 100644 --- a/distro-packaging/asusctl.spec +++ b/distro-packaging/asusctl.spec @@ -75,11 +75,6 @@ a notification service, and ability to run in the background. %prep %autosetup -%if %{defined fedora} -%cargo_prep -sed -i 's|offline = true|offline = false|' .cargo/config.toml -sed -i 's|source.crates-io|source.ignore_this|' .cargo/config.toml -%else mkdir -p .cargo cat > .cargo/config.toml << 'EOF' [term] @@ -87,7 +82,6 @@ verbose = true [net] offline = false EOF -%endif %build export RUSTFLAGS="%{rustflags}"