macros.cargo: vacuum up Cargo.toml.orig in addition to Cargo.lock
This fixes builds with cargo from Rust 1.62+, which now complains and fails our builds if the Cargo.toml.orig file already exists.
This commit is contained in:
parent
4b93531d5f
commit
98638813aa
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ registry = "https://crates.io"\
|
||||||
replace-with = "local-registry"\
|
replace-with = "local-registry"\
|
||||||
EOF\
|
EOF\
|
||||||
%{__rm} -f Cargo.lock \
|
%{__rm} -f Cargo.lock \
|
||||||
|
%{__rm} -f Cargo.toml.orig \
|
||||||
)
|
)
|
||||||
|
|
||||||
%__cargo_parse_opts(naf:) %{shrink:\
|
%__cargo_parse_opts(naf:) %{shrink:\
|
||||||
|
|
Loading…
Reference in a new issue