Moin,

On Mon, 01 Dec 2025, 13:50:51 +0100, Manfred Hollstein wrote:
> Hi Andrei,
> 
> On Mon, 01 Dec 2025, 12:52:56 +0100, Andrei Dziahel wrote:
> > Hey Manfred,
> > 
> > I'm a maintainer of a couple of packages of software written in Rust, and 
> > while
> > yes, you do have to have the tarball with all the Rust dependencies around,
> > with cargo_vendor source service it is quite trivial to produce and update.
> > Case in point: 
> > https://build.opensuse.org/package/show/devel:tools:scm/mergiraf
> > (see .spec and _service files) for reference.
> 
> thank you very much for your hint, much appreciated!
> 
> > Hope that helps!
> 
> I'll take a look and see what I can do with it ;-)

unfortunately it took me nowhere (next to). One reason being that the
source tarball needing cargo etc. is only unpacked during %prep. I'm not
sure how I can combine that with _service. In the end I ran all needed
cargo commands manually and tar'ed up my ~/.cargo directory. When a
required dependency "cargo-xcodebuild" was to be installed using

  cargo install cargo-xcodebuild

it failed with an error message that this crate can only be compiled/
installed on a MacOS system... So I give up now.

Cheers.

l8er
manfred

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Packman mailing list
[email protected]
https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

Antwort per Email an