diff --git a/nispor.spec b/nispor.spec index 2406c71..b0cefa0 100644 --- a/nispor.spec +++ b/nispor.spec @@ -89,6 +89,10 @@ pushd src/python popd %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 %cargo_install popd