Accepting request 792692 from home:dmarcoux
- Update to version 0.13.0 * Beginning with this release, bat can be used as a library * (Breaking change) Glob-based syntax mapping * Many bugfixes and new syntaxes * And more... see upstream - Pass "no-track" option to "cargo install" to avoid generating ".crates2.json" OBS-URL: https://build.opensuse.org/request/show/792692 OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=17
This commit is contained in:
committed by
Git OBS Bridge
parent
ff1dc7270a
commit
9894b56712
9
bat.spec
9
bat.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package bat
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: bat
|
||||
Version: 0.12.1
|
||||
Version: 0.13.0
|
||||
Release: 0
|
||||
Summary: A cat(1) clone with syntax highlighting and Git integration
|
||||
License: MIT OR Apache-2.0
|
||||
@@ -53,10 +53,7 @@ EOF
|
||||
cargo build --release --locked %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
cargo install --root=%{buildroot}%{_prefix} --path .
|
||||
|
||||
# remove residue crate file
|
||||
rm %{buildroot}%{_prefix}/.crates.toml
|
||||
cargo install --no-track --root=%{buildroot}%{_prefix} --path .
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
|
Reference in New Issue
Block a user