01017a709b
- Prevent cargo from updating dependencies with `--locked` - Remove unneeded macro (%defattr) - List licenses with the right macro (%license) OBS-URL: https://build.opensuse.org/request/show/684109 OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=7 |
||
---|---|---|
.gitattributes | ||
.gitignore | ||
bat-0.10.0.tar.gz | ||
bat.changes | ||
bat.spec | ||
README.packager | ||
vendor.tar.xz |
# Heavily based on https://build.opensuse.org/package/view_file/devel:languages:rust/racer/README.packager (Thank you for this!) # # Generating `vendor.tar.xz` 1. Install `cargo` and `cargo-vendor` from official repositories. `cargo` is provided by `rust` zypper install rust cargo-vendor 2. Checkout version git clone https://github.com/sharkdp/bat cd bat git checkout v0.10.0 (or another version from `git tag --list`) 3. Generate archive cargo vendor tar c vendor/ | xz > vendor.tar.xz