From c54d2409da7b376e8d1e4fdb8d1c942c137d1c8e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 28 Apr 2019 07:47:06 +0200 Subject: [PATCH] Remove temporary Cargo.toml.deps Signed-off-by: Igor Gnatenko --- data/macros.cargo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/macros.cargo b/data/macros.cargo index 4bbc36e..a60289a 100644 --- a/data/macros.cargo +++ b/data/macros.cargo @@ -85,7 +85,7 @@ if %__cargo_is_lib; then \ %{__cargo} package -l | xargs -d '\\\n' %{__cp} --parents -a -t $REG_DIR \ %{__mv} Cargo.toml{.deps,} \ %{__cp} -a Cargo.toml $REG_DIR/Cargo.toml \ - %{__rm} -f $REG_DIR/Cargo.toml.orig \ + %{__rm} -f $REG_DIR/Cargo.toml.{orig,deps} \ echo '{"files":{},"package":""}' > $REG_DIR/.cargo-checksum.json \ fi \ if %__cargo_is_bin; then \