Remove temporary Cargo.toml.deps

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-04-28 07:47:06 +02:00
parent ecc850755e
commit c54d2409da
No known key found for this signature in database
GPG key ID: 695714BD1BBC5F4C

View file

@ -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 \