Hello community, here is the log from the commit of package bat for openSUSE:Factory checked in at 2019-02-27 17:27:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bat (Old) and /work/SRC/openSUSE:Factory/.bat.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bat" Wed Feb 27 17:27:35 2019 rev:2 rq:674149 version:0.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/bat/bat.changes 2018-10-11 11:49:44.694459056 +0200 +++ /work/SRC/openSUSE:Factory/.bat.new.28833/bat.changes 2019-02-27 17:27:39.195352962 +0100 @@ -1,0 +2,27 @@ +Mon Feb 11 22:15:10 UTC 2019 - Dany Marcoux <[email protected]> + +- Add README.packager for instructions on how to generate vendor.tar.xz +- Update to version 0.10.0 + * Features + New option --highlight-line <N> + New option -A/--show-all to show and highlight non-printable characters (in analogy to GNU cats option) + New option --pager to configure the pager + Support for a configuration file (https://github.com/sharkdp/bat#format) + Support for custom config file path via --config-file option or BAT_CONFIG_PATH environment variable + Support for custom syntax mappings via the -m/--max-syntax option + Support pager command-line arguments in PAGER and BAT_PAGER + The --terminal-width option can now also accept offsets + Support for multiple --line-range arguments + Encoding support for UTF-16LE and UTF-16BE + * Changes + Completely disabled the generation of shell completion files + Report the name of missing files + Don't start pager if file doesn't exist + Rename bat cache --init to bat cache --build + Move the --config-dir and --cache-dir options from bat cache to bat and hide them from the help text + The default tab-width has been set to 4 + * New syntaxes supported + Robot framework, Twig, .desktop files, AsciiDoc, Assembly, Jsonnet, + Log files, Protobuf and ProtobufText, Terraform and Varlink + +------------------------------------------------------------------- Old: ---- bat-0.7.1.tar.gz New: ---- README.packager bat-0.10.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bat.spec ++++++ --- /var/tmp/diff_new_pack.M9Rw7d/_old 2019-02-27 17:27:40.147352621 +0100 +++ /var/tmp/diff_new_pack.M9Rw7d/_new 2019-02-27 17:27:40.147352621 +0100 @@ -1,7 +1,7 @@ # # spec file for package bat # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: bat -Version: 0.7.1 +Version: 0.10.0 Release: 0 Summary: A cat(1) clone with syntax highlighting and Git integration License: MIT @@ -25,10 +25,12 @@ Url: https://github.com/sharkdp/bat Source0: https://github.com/sharkdp/bat/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: vendor.tar.xz +# Instructions on how to generate vendor.tar.xz +Source2: README.packager BuildRequires: cargo +BuildRequires: cmake BuildRequires: rust BuildRequires: rust-std -BuildRequires: cmake BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -63,3 +65,5 @@ %defattr(-,root,root) %doc LICENSE-MIT LICENSE-APACHE README.md %{_bindir}/bat + +%changelog ++++++ README.packager ++++++ # 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 ++++++ bat-0.7.1.tar.gz -> bat-0.10.0.tar.gz ++++++ ++++ 8848 lines of diff (skipped) ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/bat/vendor.tar.xz /work/SRC/openSUSE:Factory/.bat.new.28833/vendor.tar.xz differ: char 26, line 1
