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:
commit
2875cb0bc9
@ -8,8 +8,8 @@
|
||||
|
||||
2. Checkout version
|
||||
|
||||
git clone https://github.com/sharkdp/bat
|
||||
cd bat
|
||||
git clone https://github.com/sharkdp/bat ~/tmp/bat
|
||||
cd ~/tmp/bat
|
||||
git checkout v0.10.0 (or another version from `git tag --list`)
|
||||
|
||||
3. Generate archive
|
||||
|
@ -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
3
bat-0.12.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1dd184ddc9e5228ba94d19afc0b8b440bfc1819fef8133fe331e2c0ec9e3f8e2
|
||||
size 874135
|
28
bat.changes
28
bat.changes
@ -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>
|
||||
|
||||
|
9
bat.spec
9
bat.spec
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: bat
|
||||
Version: 0.11.0
|
||||
Version: 0.12.1
|
||||
Release: 0
|
||||
Summary: A cat(1) clone with syntax highlighting and Git integration
|
||||
License: MIT OR Apache-2.0
|
||||
@ -28,6 +28,7 @@ Source1: vendor.tar.xz
|
||||
# Instructions on how to generate vendor.tar.xz
|
||||
Source2: README.packager
|
||||
BuildRequires: cargo
|
||||
BuildRequires: clang
|
||||
BuildRequires: cmake
|
||||
BuildRequires: rust
|
||||
BuildRequires: rust-std
|
||||
@ -39,8 +40,8 @@ programming and markup languages. It has git integration and automatic paging.
|
||||
|
||||
%prep
|
||||
%setup -qa1
|
||||
mkdir cargo-home
|
||||
cat >cargo-home/config <<EOF
|
||||
mkdir .cargo
|
||||
cat >.cargo/config <<EOF
|
||||
[source.crates-io]
|
||||
registry = 'https://github.com/rust-lang/crates.io-index'
|
||||
replace-with = 'vendored-sources'
|
||||
@ -49,11 +50,9 @@ directory = './vendor'
|
||||
EOF
|
||||
|
||||
%build
|
||||
export CARGO_HOME=$PWD/cargo-home
|
||||
cargo build --release --locked %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
export CARGO_HOME=$PWD/cargo-home
|
||||
cargo install --root=%{buildroot}%{_prefix} --path .
|
||||
|
||||
# remove residue crate file
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fcc8c7df978bf4bc6b7549093a79e30c3d625d0f64ca8f5deb84cdf5146e95d5
|
||||
size 10788192
|
||||
oid sha256:f4b2594aa040100cc98915326374fd8c229dd0c6834939f0b100025819d5c749
|
||||
size 11208272
|
||||
|
Loading…
Reference in New Issue
Block a user