File README.packager of Package racer
# Updating this package
1. Install cargo and cargo-vendor from devel:languages:rust
2. Clone the wanted version of the package and archive it
git clone https://github.com/phildawes/racer
cd cargo
git checkout -b packaged-version 1.2.5
git archive --format=tar --prefix=racer-1.2.5/ HEAD | xz >racer-1.2.5.tar.xz
3. Generate the vendor package
cargo vendor
tar c vendor/ | xz > vendor.tar.xz
3. Update the OBS package with these .tar.xz archives.