openSUSE talk:Packaging Rust Software
This page could do with an example of how to use rust-packaging. It simplifies certain aspects of packaging Rust. For example, you can just
%define a variable named
cargo_registry set to the constant value of
$(pwd)/vendor to handle the cargo config.
Here are two package
specs that use it:
I built some basic tools for generating vendoring tarballs. It handles Rust, as well as Go lang.
Its more or less usable and includes a workaround for the winapi problem.
The way it works: basic shell script that unpacks tarballs, etc. assuming the conventions established at the Build Service.