diff --git a/data/macros.cargo b/data/macros.cargo index ebf3edb..288554c 100644 --- a/data/macros.cargo +++ b/data/macros.cargo @@ -27,7 +27,8 @@ directory = "%{cargo_registry}"\ [source.crates-io]\ registry = "https://crates.io"\ replace-with = "local-registry"\ -EOF\ +EOF \ +%{__rm} -f Cargo.lock \ %if ! %{with check} \ # https://github.com/rust-lang/cargo/issues/3732 \ %{__awk} -i inplace -v INPLACE_SUFFIX=.orig '/^\\\[dev-dependencies/{f=1;next} /^\\\[/{f=0}; !f' Cargo.toml \