Accepting request 734430 from utilities

OBS-URL: https://build.opensuse.org/request/show/734430
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bat?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2019-10-17 10:20:08 +00:00 committed by Git OBS Bridge
commit 2875cb0bc9
6 changed files with 39 additions and 12 deletions

View File

@ -8,8 +8,8 @@
2. Checkout version 2. Checkout version
git clone https://github.com/sharkdp/bat git clone https://github.com/sharkdp/bat ~/tmp/bat
cd bat cd ~/tmp/bat
git checkout v0.10.0 (or another version from `git tag --list`) git checkout v0.10.0 (or another version from `git tag --list`)
3. Generate archive 3. Generate archive

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb4e39efadfab71c0c929a92b82dac58deacfe2a4eb527d4256ac0634e042ed2
size 834756

3
bat-0.12.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1dd184ddc9e5228ba94d19afc0b8b440bfc1819fef8133fe331e2c0ec9e3f8e2
size 874135

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Tue Oct 1 19:06:41 UTC 2019 - Luke Jones <luke@ljones.dev>
- Use `pwd`/.cargo for vendor config so that CARGO_HOME export is
not required.
-------------------------------------------------------------------
Tue Sep 24 14:49:11 UTC 2019 - Dany Marcoux <dmarcoux@suse.com>
- Update to version 0.12.1
* Features
Binary file content can now be viewed with bat -A
bat can now be used as a man pager
Add new style component to separate multiple '--line-range'
Added '-L' as an alias for '--list-languages'
* Bugfixes
Output looks unbalanced when using '--style=grid,numbers' without 'header'
Issues with filenames starting with "cache"
'--terminal-width -10' is parsed incorrectly
* New syntaxes
Emacs Org mode
requirements.txt
DotENV '.env'
SSH config
And more... see upstream
- Set directory for 'git clone' in README.packager
- Add 'clang' to build dependencies
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 15 21:22:44 UTC 2019 - Dany Marcoux <dmarcoux@suse.com> Wed May 15 21:22:44 UTC 2019 - Dany Marcoux <dmarcoux@suse.com>

View File

@ -17,7 +17,7 @@
Name: bat Name: bat
Version: 0.11.0 Version: 0.12.1
Release: 0 Release: 0
Summary: A cat(1) clone with syntax highlighting and Git integration Summary: A cat(1) clone with syntax highlighting and Git integration
License: MIT OR Apache-2.0 License: MIT OR Apache-2.0
@ -28,6 +28,7 @@ Source1: vendor.tar.xz
# Instructions on how to generate vendor.tar.xz # Instructions on how to generate vendor.tar.xz
Source2: README.packager Source2: README.packager
BuildRequires: cargo BuildRequires: cargo
BuildRequires: clang
BuildRequires: cmake BuildRequires: cmake
BuildRequires: rust BuildRequires: rust
BuildRequires: rust-std BuildRequires: rust-std
@ -39,8 +40,8 @@ programming and markup languages. It has git integration and automatic paging.
%prep %prep
%setup -qa1 %setup -qa1
mkdir cargo-home mkdir .cargo
cat >cargo-home/config <<EOF cat >.cargo/config <<EOF
[source.crates-io] [source.crates-io]
registry = 'https://github.com/rust-lang/crates.io-index' registry = 'https://github.com/rust-lang/crates.io-index'
replace-with = 'vendored-sources' replace-with = 'vendored-sources'
@ -49,11 +50,9 @@ directory = './vendor'
EOF EOF
%build %build
export CARGO_HOME=$PWD/cargo-home
cargo build --release --locked %{?_smp_mflags} cargo build --release --locked %{?_smp_mflags}
%install %install
export CARGO_HOME=$PWD/cargo-home
cargo install --root=%{buildroot}%{_prefix} --path . cargo install --root=%{buildroot}%{_prefix} --path .
# remove residue crate file # remove residue crate file

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:fcc8c7df978bf4bc6b7549093a79e30c3d625d0f64ca8f5deb84cdf5146e95d5 oid sha256:f4b2594aa040100cc98915326374fd8c229dd0c6834939f0b100025819d5c749
size 10788192 size 11208272