Accepting request 703434 from utilities
OBS-URL: https://build.opensuse.org/request/show/703434 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bat?expand=0&rev=3
This commit is contained in:
commit
73897a1a76
@ -15,4 +15,4 @@
|
||||
3. Generate archive
|
||||
|
||||
cargo vendor
|
||||
tar c vendor/ | xz > vendor.tar.xz
|
||||
tar -cJf vendor.tar.xz vendor
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:54dd396e8f20d44c6032a32339f45eab46a69b6134e74a704f8d4a27c18ddc3e
|
||||
size 810088
|
3
bat-0.11.0.tar.gz
Normal file
3
bat-0.11.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bb4e39efadfab71c0c929a92b82dac58deacfe2a4eb527d4256ac0634e042ed2
|
||||
size 834756
|
22
bat.changes
22
bat.changes
@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 15 21:22:44 UTC 2019 - Dany Marcoux <dmarcoux@suse.com>
|
||||
|
||||
- Update to version 0.11.0
|
||||
* Features
|
||||
New color themes: ansi-light, ansi-dark and base16
|
||||
The -p/--plain option can be used twice (typically -pp). First -p switches --style to "plain", second disables pager.
|
||||
* Bugfixes
|
||||
Do not replace arguments to less when using --pager
|
||||
Empty files are (once again) printed with a single header line
|
||||
--terminal-width=0 is now disallowed
|
||||
* New syntaxes
|
||||
Fish
|
||||
Update for F#
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 30 13:08:18 UTC 2019 - Dany Marcoux <dmarcoux@suse.com>
|
||||
|
||||
- Run spec-cleaner
|
||||
- Remove double %setup macro
|
||||
- Simplify tar command in README.packager
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 11 22:15:10 UTC 2019 - Dany Marcoux <dmarcoux@posteo.de>
|
||||
|
||||
|
18
bat.spec
18
bat.spec
@ -17,12 +17,12 @@
|
||||
|
||||
|
||||
Name: bat
|
||||
Version: 0.10.0
|
||||
Version: 0.11.0
|
||||
Release: 0
|
||||
Summary: A cat(1) clone with syntax highlighting and Git integration
|
||||
License: MIT
|
||||
License: MIT OR Apache-2.0
|
||||
Group: Productivity/Text/Utilities
|
||||
Url: https://github.com/sharkdp/bat
|
||||
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
|
||||
@ -32,15 +32,13 @@ BuildRequires: cmake
|
||||
BuildRequires: rust
|
||||
BuildRequires: rust-std
|
||||
BuildRequires: zlib-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
A cat(1) clone which supports syntax highlighting for a large number of
|
||||
programming and markup languages. It has git integration and automatic paging.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -D -T -a 1
|
||||
%setup -qa1
|
||||
mkdir cargo-home
|
||||
cat >cargo-home/config <<EOF
|
||||
[source.crates-io]
|
||||
@ -52,18 +50,18 @@ EOF
|
||||
|
||||
%build
|
||||
export CARGO_HOME=$PWD/cargo-home
|
||||
cargo build --release %{?_smp_mflags}
|
||||
cargo build --release --locked %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
export CARGO_HOME=$PWD/cargo-home
|
||||
cargo install --root=%{buildroot}%{_prefix}
|
||||
cargo install --root=%{buildroot}%{_prefix} --path .
|
||||
|
||||
# remove residue crate file
|
||||
rm %{buildroot}%{_prefix}/.crates.toml
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE-MIT LICENSE-APACHE README.md
|
||||
%doc README.md
|
||||
%license LICENSE-MIT LICENSE-APACHE
|
||||
%{_bindir}/bat
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4321d8cdbbda7d6040e2812235174792b5475a920a0b46c89427fbb3fe57bdfa
|
||||
size 10405328
|
||||
oid sha256:fcc8c7df978bf4bc6b7549093a79e30c3d625d0f64ca8f5deb84cdf5146e95d5
|
||||
size 10788192
|
||||
|
Loading…
Reference in New Issue
Block a user