Hi, On Thu, 16 Jul 2020 08:55:03 +0200 Adrian Campos <adriancampos@teachelp.com> wrote:
I am trying to port to OBS a package related with on screen keyboard for Pinephone but i have some problems with Rust dependencies, could anyone give me some tips to continue?
You can take a look at: https://build.opensuse.org/package/show/network:utilities/newsboat In the spec file I create the cargo config file. I then download the tarball, extract it, run `cargo vendor`. Create a tarball out of the vendor directory and use that one. ``` osc co network:utilities/newsboat cd network:utilities/newsboat tar xfv *gz cd newsb* cargo vendor tar c vendor/ | xz > vendor.tar.xz cp vendor.tar.xz .. ``` Then you add the vendor tarball as source and adapt the %setup call. Hope this helps. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org