Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
marcos.cargo: add path parameter in cargo_install (#3)
The `%{cargo_install}` macro is expanded adding a `--path .` paramenter at the end. With virtual workspaces we need to specify a different `path` per binary crate, but this cannot be done if there is already one `path` parameter. This patch adds a path parameter (-p) in the cargo_install macro, that if it is not present will default to the current "--path ." one. Now an user can specify a different path parameter: %{cargo_install -p binary-crate} --no-default-features Related with: rust-lang/cargo#7599 Signed-off-by: Alberto Planas <[email protected]>
- Loading branch information