Skip to content

Commit

Permalink
marcos.cargo: drop path from install
Browse files Browse the repository at this point in the history
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 removes the `--path .` parameter, so an user can now use:

  %{cargo_install} --path binary-crate

Related with:

  rust-lang/cargo#7599

Signed-off-by: Alberto Planas <[email protected]>
  • Loading branch information
aplanas committed Jan 16, 2023
1 parent 9701922 commit 100af1d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion macros.cargo
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
--offline \
--no-track \
--root=%{buildroot}%{_prefix} \
--path . \
%* \
}

0 comments on commit 100af1d

Please sign in to comment.