Fix %cargo_install failure
cargo_install has problem on detecting library when running in workspace due to bug https://pagure.io/fedora-rust/cargo2rpm/issue/5 Removing the workspace Cargo.toml will workaround this problem. Signed-off-by: Gris Ge <fge@redhat.com>
This commit is contained in:
parent
ff1f97d80d
commit
8def2e1e1b
@ -89,6 +89,10 @@ pushd src/python
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
# cargo_install has problem on detecting library when running in workspace
|
||||||
|
# due to bug https://pagure.io/fedora-rust/cargo2rpm/issue/5
|
||||||
|
# Removing the workspace Cargo.toml will workaround this problem.
|
||||||
|
rm Cargo.toml
|
||||||
pushd src/lib
|
pushd src/lib
|
||||||
%cargo_install
|
%cargo_install
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user