Remove temporary Cargo.toml.deps
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
ecc850755e
commit
c54d2409da
1 changed files with 1 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue