Firstyear / obs-service-cargo

OBS Source Service and utilities for Rust software packaging
Mozilla Public License 2.0
16 stars 9 forks source link

Sync with rust-packaging #8

Closed msirringhaus closed 2 years ago

msirringhaus commented 4 years ago

There is another package in openSUSE:Factory, called rust-packaging: https://build.opensuse.org/package/show/openSUSE:Factory/rust-packaging

It provides various rpm-makros for building rust-code (such as %cargo_build, %cargo_install, ..).

Unfortunately, they use a "hard-coded" path %{_datadir}/cargo/registry instead of vendor

Right now, one has to do %define cargo_registry $(pwd)/vendor before calling any of those makros.

It would be really helpful, if there could be an alignment between your package and rust-packaging (not saying you have to change your service. Maybe you could reach out to the maintainer of rust-packaging).

Firstyear commented 3 years ago

It looks like rust-packaging has gone pretty well unmaintained in OBS, so I'm not sure it's worth while to do this. It may be better to lift-and-shift our own macros to supplement these instead.

Firstyear commented 2 years ago

Closing, we are removing rust-packaging.