Go to file
Dany Marcoux 01017a709b Accepting request 684109 from home:dmarcoux
- 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
2019-03-11 20:01:05 +00:00
.gitattributes Accepting request 639027 from home:dmarcoux 2018-09-28 15:16:54 +00:00
.gitignore Accepting request 639027 from home:dmarcoux 2018-09-28 15:16:54 +00:00
bat-0.10.0.tar.gz Accepting request 674133 from home:dmarcoux 2019-02-12 15:07:55 +00:00
bat.changes Accepting request 674133 from home:dmarcoux 2019-02-12 15:07:55 +00:00
bat.spec Accepting request 684109 from home:dmarcoux 2019-03-11 20:01:05 +00:00
README.packager Accepting request 674133 from home:dmarcoux 2019-02-12 15:07:55 +00:00
vendor.tar.xz Accepting request 674133 from home:dmarcoux 2019-02-12 15:07:55 +00:00

# 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