8 Commits

Author SHA256 Message Date
d4d601cc9d Accepting request 1321529 from utilities
OBS-URL: https://build.opensuse.org/request/show/1321529
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bat?expand=0&rev=25
2025-12-09 11:48:27 +00:00
182cdbdbf2 - Update to version 0.26.1
Features
  * Add paging to '-h' and '--help'.
  Bugfixes
  * Fix hang when using --list-themes with an explicit pager.
  * Fix negative values of N not being parsed in <N:M> line ranges
    without = flag value separator.
  * Fix broken Docker syntax preventing use of custom assets.
  * Fix decorations being applied unexpectedly when piping. Now
    only line numbers explicitly required on the command line
    should be applied in auto decorations mode for cat
    compatibility.
  * Fix diagnostics attempting to find the version of an executable
    named builtin when builtin pager is used.
  * --help now correctly reads the config file for theme
    information etc.
  Other
  * Improve README documentation on pager options passed to less.
  * Make PowerShell completions compatible with PowerShell v5.1.
  * Use more robust approach to escaping in Bash completions.
  Syntaxes
  * Update quadlet syntax mapping to include *.{build,pod} files.
  * Fix inconsistencies in Ada syntax.
  * Add syntax mapping for podman's artifact quadlet files.
  * Highlight Korn Shell scripts (i.e. with a shebang of ...ksh)
    using Bash syntax.

OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=53
2025-12-08 09:33:21 +00:00
3341e8b89d Accepting request 1312423 from utilities
- update to 0.26.0
 * Features
  * Add paging to --list-themes, see PR #3239 (@einfachIrgendwer0815)
  * Support negative relative line ranges, e.g. bat -r :-10 / bat -r='-10:', see #3068 (@ajesipow)
  * Support context in line ranges, e.g. bat -r 30::5 /  bat -r 30:40:5, see #3345 (@cavanaug)
  * Add built-in 'minus' pager, e.g. bat --pager=builtin see PR #3402 (@academician)
 * Bugfixes
  * Fix UTF-8 BOM not being stripped for syntax detection, see #3314 (@krikera)
  * Fix BAT_THEME_DARK and BAT_THEME_LIGHT being ignored, see issue #3171 and PR #3168 (@bash)
  * Prevent --list-themes from outputting default theme info to stdout when it is piped, see #3189 (@einfachIrgendwer0815)
  * Rename some submodules to fix Dependabot submodule updates, see issue #3198 and PR #3201 (@victor-gp)
  * Make highlight tests fail when new syntaxes don't have fixtures PR #3255 (@dan-hipschman)
  * Fix crash for multibyte characters in file path, see issue #3230 and PR #3245 (@HSM95)
  * Add missing mappings for various bash/zsh files, see PR #3262 (@AdamGaskins)
  * Send all bat errors to stderr by default, see #3336 (@JerryImMouse)
  * Make --map-syntax target case insensitive to match --language, see #3206 (@keith-hall)
  * Correctly determine the end of the line in UTF16LE/BE input #3369 (@keith-hall)
  * --style=changes no longer prints a two-space indent when the file is unmodified, see issue #2710 and PR #3406 (@jyn514)
  * Add missing shell completions, see #3411 (@keith-hall)
  * Execute help/version/diagnostic commands even with invalid config/arguments present, see #3414 (@keith-hall)
  * Fixed line numbers (-n) and style components not printing when piping output, see issue #2935 and PR #3438 (@lmmx)
 * Other
  * Update base16 README links to community driven base16 work #2871 (@JamyGolden)
  * Work around build failures when building bat from vendored sources #3179 (@dtolnay)
  * CICD: Stop building for x86_64-pc-windows-gnu which fails #3261 (Enselic)
  * CICD: CICD: replace windows-2019 runners with windows-2025 #3339 (@cyqsimon)
  * Build script: replace string-based codegen with quote-based codegen #3340 (@cyqsimon)
  * Improve code coverage of --list-languages parameter #2942 (@sblondon)
  * Only start offload worker thread when there's more than 1 core #2956 (@cyqsimon)
  * Update terminal-colorsaurus (the library used for dark/light detection) to 1.0, see #3347 (@bash)

OBS-URL: https://build.opensuse.org/request/show/1312423
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bat?expand=0&rev=24
2025-10-21 09:16:13 +00:00
aaff2fe57f - update to 0.26.0
* Features
  * Add paging to --list-themes, see PR #3239 (@einfachIrgendwer0815)
  * Support negative relative line ranges, e.g. bat -r :-10 / bat -r='-10:', see #3068 (@ajesipow)
  * Support context in line ranges, e.g. bat -r 30::5 /  bat -r 30:40:5, see #3345 (@cavanaug)
  * Add built-in 'minus' pager, e.g. bat --pager=builtin see PR #3402 (@academician)
 * Bugfixes
  * Fix UTF-8 BOM not being stripped for syntax detection, see #3314 (@krikera)
  * Fix BAT_THEME_DARK and BAT_THEME_LIGHT being ignored, see issue #3171 and PR #3168 (@bash)
  * Prevent --list-themes from outputting default theme info to stdout when it is piped, see #3189 (@einfachIrgendwer0815)
  * Rename some submodules to fix Dependabot submodule updates, see issue #3198 and PR #3201 (@victor-gp)
  * Make highlight tests fail when new syntaxes don't have fixtures PR #3255 (@dan-hipschman)
  * Fix crash for multibyte characters in file path, see issue #3230 and PR #3245 (@HSM95)
  * Add missing mappings for various bash/zsh files, see PR #3262 (@AdamGaskins)
  * Send all bat errors to stderr by default, see #3336 (@JerryImMouse)
  * Make --map-syntax target case insensitive to match --language, see #3206 (@keith-hall)
  * Correctly determine the end of the line in UTF16LE/BE input #3369 (@keith-hall)
  * --style=changes no longer prints a two-space indent when the file is unmodified, see issue #2710 and PR #3406 (@jyn514)
  * Add missing shell completions, see #3411 (@keith-hall)
  * Execute help/version/diagnostic commands even with invalid config/arguments present, see #3414 (@keith-hall)
  * Fixed line numbers (-n) and style components not printing when piping output, see issue #2935 and PR #3438 (@lmmx)
 * Other
  * Update base16 README links to community driven base16 work #2871 (@JamyGolden)
  * Work around build failures when building bat from vendored sources #3179 (@dtolnay)
  * CICD: Stop building for x86_64-pc-windows-gnu which fails #3261 (Enselic)
  * CICD: CICD: replace windows-2019 runners with windows-2025 #3339 (@cyqsimon)
  * Build script: replace string-based codegen with quote-based codegen #3340 (@cyqsimon)
  * Improve code coverage of --list-languages parameter #2942 (@sblondon)
  * Only start offload worker thread when there's more than 1 core #2956 (@cyqsimon)
  * Update terminal-colorsaurus (the library used for dark/light detection) to 1.0, see #3347 (@bash)

OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=51
2025-10-20 13:28:42 +00:00
501fda0917 Accepting request 1311248 from utilities
OBS-URL: https://build.opensuse.org/request/show/1311248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bat?expand=0&rev=23
2025-10-14 16:09:29 +00:00
0e071dd8f7 - cleanup _service
- refresh vendor.tar.zst to fix build problems

OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=49
2025-10-13 21:11:58 +00:00
bd356a4a12 Accepting request 1235801 from utilities
- Update to 0.25.0:
  Features:
  * Set terminal title to file names when Paging is not Paging::Never #2807
  * bat --squeeze-blank/bat -s will now squeeze consecutive empty lines, see #1441 and #2665
  * bat --squeeze-limit to set the maximum number of empty consecutive when using --squeeze-blank, see #1441 #2665
  * PrettyPrinter::squeeze_empty_lines to support line squeezing for bat as a library, see #1441 #2665
  * Syntax highlighting for JavaScript files that start with #!/usr/bin/env bun #2913
  * bat --strip-ansi={never,always,auto} to remove ANSI escape sequences from bat's input, see #2999
  * Add or remove individual style components without replacing all styles #2929
  * Automatically choose theme based on the terminal's color scheme, see #2896
  * Add option --binary=as-text for printing binary content, see issue #2974 and PR #2976
  * Make shell completions available via --completion <shell>, see issue #2057 and PR #3126
  * Syntax highlighting for puppet code blocks within Markdown files, see #3152
  Bugfixes:
  * Fix long file name wrapping in header, see #2835
  * Fix NO_COLOR support, see #2767
  * Fix handling of inputs with OSC ANSI escape sequences, see #2541 and #2544
  * Fix handling of inputs with combined ANSI color and attribute sequences, see #2185 and #2856
  * Fix panel width when line 10000 wraps, see #2854
  * Fix compile issue of time dependency caused by standard library regression #3045
  * Fix override behavior of --plain and --paging, see issue #2731 and PR #3108
  * Fix bugs in $LESSOPEN support, see #2805
  Other:
  * Upgrade to Rust 2021 edition #2748
  * Refactor and cleanup build script #2756
  * Checks changelog has been written to for PRs in CI #2766
    + Use GitHub API to get correct PR submitter #2791
  * Minor benchmark script improvements #2768
  * Update Arch Linux package URL in README files #2779
  * Update and improve zsh completion, see #2772

OBS-URL: https://build.opensuse.org/request/show/1235801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bat?expand=0&rev=22
2025-01-09 14:07:32 +00:00
4d0bdf1304 - Update to 0.25.0:
Features:
  * Set terminal title to file names when Paging is not Paging::Never #2807
  * bat --squeeze-blank/bat -s will now squeeze consecutive empty lines, see #1441 and #2665
  * bat --squeeze-limit to set the maximum number of empty consecutive when using --squeeze-blank, see #1441 #2665
  * PrettyPrinter::squeeze_empty_lines to support line squeezing for bat as a library, see #1441 #2665
  * Syntax highlighting for JavaScript files that start with #!/usr/bin/env bun #2913
  * bat --strip-ansi={never,always,auto} to remove ANSI escape sequences from bat's input, see #2999
  * Add or remove individual style components without replacing all styles #2929
  * Automatically choose theme based on the terminal's color scheme, see #2896
  * Add option --binary=as-text for printing binary content, see issue #2974 and PR #2976
  * Make shell completions available via --completion <shell>, see issue #2057 and PR #3126
  * Syntax highlighting for puppet code blocks within Markdown files, see #3152
  Bugfixes:
  * Fix long file name wrapping in header, see #2835
  * Fix NO_COLOR support, see #2767
  * Fix handling of inputs with OSC ANSI escape sequences, see #2541 and #2544
  * Fix handling of inputs with combined ANSI color and attribute sequences, see #2185 and #2856
  * Fix panel width when line 10000 wraps, see #2854
  * Fix compile issue of time dependency caused by standard library regression #3045
  * Fix override behavior of --plain and --paging, see issue #2731 and PR #3108
  * Fix bugs in $LESSOPEN support, see #2805
  Other:
  * Upgrade to Rust 2021 edition #2748
  * Refactor and cleanup build script #2756
  * Checks changelog has been written to for PRs in CI #2766
    + Use GitHub API to get correct PR submitter #2791
  * Minor benchmark script improvements #2768
  * Update Arch Linux package URL in README files #2779
  * Update and improve zsh completion, see #2772

OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=47
2025-01-08 07:22:39 +00:00
8 changed files with 195 additions and 43 deletions

View File

@@ -1,26 +1,9 @@
<services>
<service name="format_spec_file" mode="manual">
</service>
<service name="obs_scm" mode="localonly">
<param name="scm">git</param>
<param name="url">https://github.com/sharkdp/bat</param>
<param name="revision">v0.24.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service mode="localonly" name="set_version">
</service>
<service name="tar" mode="localonly"/>
<service name="recompress" mode="localonly">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="cargo_audit" mode="localonly">
<param name="srcdir">bat</param>
</service>
<service name="cargo_vendor" mode="localonly">
<param name="srcdir">bat</param>
<param name="compression">xz</param>
<service name="download_files" mode="manual"/>
<service name="cargo_audit" mode="manual"/>
<service name="cargo_vendor" mode="manual">
<param name="srctar">bat-*.tar.gz</param>
<param name="compression">zst</param>
<param name="update">true</param>
</service>
</services>

View File

@@ -1,6 +0,0 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/sharkdp/bat</param>
<param name="changesrevision">f3d53b79a2d7a51f470ac8a06b6bdd9a4f225e8f</param></service><service name="tar_scm">
<param name="url">https://github.com/sharkdp/bat</param>
<param name="changesrevision">e5d95796141a719e208208182a5d3c2090a009c6</param></service></servicedata>

View File

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

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

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

View File

@@ -1,3 +1,181 @@
-------------------------------------------------------------------
Wed Dec 3 18:51:38 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.26.1
Features
* Add paging to '-h' and '--help'.
Bugfixes
* Fix hang when using --list-themes with an explicit pager.
* Fix negative values of N not being parsed in <N:M> line ranges
without = flag value separator.
* Fix broken Docker syntax preventing use of custom assets.
* Fix decorations being applied unexpectedly when piping. Now
only line numbers explicitly required on the command line
should be applied in auto decorations mode for cat
compatibility.
* Fix diagnostics attempting to find the version of an executable
named builtin when builtin pager is used.
* --help now correctly reads the config file for theme
information etc.
Other
* Improve README documentation on pager options passed to less.
* Make PowerShell completions compatible with PowerShell v5.1.
* Use more robust approach to escaping in Bash completions.
Syntaxes
* Update quadlet syntax mapping to include *.{build,pod} files.
* Fix inconsistencies in Ada syntax.
* Add syntax mapping for podman's artifact quadlet files.
* Highlight Korn Shell scripts (i.e. with a shebang of ...ksh)
using Bash syntax.
-------------------------------------------------------------------
Mon Oct 20 13:25:28 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.26.0
* Features
* Add paging to --list-themes, see PR #3239 (@einfachIrgendwer0815)
* Support negative relative line ranges, e.g. bat -r :-10 / bat -r='-10:', see #3068 (@ajesipow)
* Support context in line ranges, e.g. bat -r 30::5 / bat -r 30:40:5, see #3345 (@cavanaug)
* Add built-in 'minus' pager, e.g. bat --pager=builtin see PR #3402 (@academician)
* Bugfixes
* Fix UTF-8 BOM not being stripped for syntax detection, see #3314 (@krikera)
* Fix BAT_THEME_DARK and BAT_THEME_LIGHT being ignored, see issue #3171 and PR #3168 (@bash)
* Prevent --list-themes from outputting default theme info to stdout when it is piped, see #3189 (@einfachIrgendwer0815)
* Rename some submodules to fix Dependabot submodule updates, see issue #3198 and PR #3201 (@victor-gp)
* Make highlight tests fail when new syntaxes don't have fixtures PR #3255 (@dan-hipschman)
* Fix crash for multibyte characters in file path, see issue #3230 and PR #3245 (@HSM95)
* Add missing mappings for various bash/zsh files, see PR #3262 (@AdamGaskins)
* Send all bat errors to stderr by default, see #3336 (@JerryImMouse)
* Make --map-syntax target case insensitive to match --language, see #3206 (@keith-hall)
* Correctly determine the end of the line in UTF16LE/BE input #3369 (@keith-hall)
* --style=changes no longer prints a two-space indent when the file is unmodified, see issue #2710 and PR #3406 (@jyn514)
* Add missing shell completions, see #3411 (@keith-hall)
* Execute help/version/diagnostic commands even with invalid config/arguments present, see #3414 (@keith-hall)
* Fixed line numbers (-n) and style components not printing when piping output, see issue #2935 and PR #3438 (@lmmx)
* Other
* Update base16 README links to community driven base16 work #2871 (@JamyGolden)
* Work around build failures when building bat from vendored sources #3179 (@dtolnay)
* CICD: Stop building for x86_64-pc-windows-gnu which fails #3261 (Enselic)
* CICD: CICD: replace windows-2019 runners with windows-2025 #3339 (@cyqsimon)
* Build script: replace string-based codegen with quote-based codegen #3340 (@cyqsimon)
* Improve code coverage of --list-languages parameter #2942 (@sblondon)
* Only start offload worker thread when there's more than 1 core #2956 (@cyqsimon)
* Update terminal-colorsaurus (the library used for dark/light detection) to 1.0, see #3347 (@bash)
* Update console dependency to 0.16, see #3351 (@musicinmybrain)
* Fixed some typos #3244 (@ssbarnea)
* Update onig_sys dependency to 69.9.1 to fix a gcc build failure #3400 (@CosmicHorrorDev)
* Add a cargo feature (vendored-libgit2) to build with vendored libgit2 version without depending on the system's one #3426 (@0x61nas)
* Update syntect dependency to v5.3.0 to fix a few minor bugs, see #3410 (@keith-hall)
* Syntaxes
* Add syntax mapping for paru configuration files #3182 (@cyqsimon)
* Add support for Idris 2 programming language #3150 (@buzden)
* Add syntax mapping for nix's 'flake.lock lockfiles #3196 (@odilf)
* Improvements to CSV/TSV highlighting, with autodetection of delimiter and support for TSV files, see #3186 (@keith-
* Improve (Sys)log error highlighting, see #3205 (@keith-hall)
* Map ndjson extension to JSON syntax, see #3209 (@keith-hall)
* Map files with csproj, vbproj, props and targets extensions to XML syntax, see #3213 (@keith-hall)
* Add debsources syntax to highlight /etc/apt/sources.list files, see #3215 (@keith-hall)
* Add syntax definition and test file for GDScript highlighting, see #3236 (@chetanjangir0)
* Add syntax test file for Odin highlighting, see #3241 (@chetanjangir0)
* Update quadlet syntax mapping rules to cover quadlets in subdirectories #3299 (@cyqsimon)
* Add syntax Typst #3300 (@cskeeters)
* Map .mill files to Scala syntax for Mill build tool configuration files #3311 (@krikera)
* Add syntax highlighting for VHDL, see #3337 (@JerryImMouse)
* Add syntax mapping for certbot certificate configuration #3338 (@cyqsimon)
* Update Lean syntax from Lean 3 to Lean 4 #3322 (@YDX-2147483647)
* Map .flatpakref and .flatpakrepo files to INI syntax #3353 (@Ferenc-)
* Update hosts syntax #3368 (@keith-hall)
* Map .kshrc files to Bash syntax #3364 (@ritoban23)
* Map /var/log/dmesg files to Syslog syntax #3412 (@keith-hall)
* Add syntax definition and test file for Go modules(go.mod and go.sum) highlighting, see #3424 (@DarkMatter-999)
* Syntax highlighting for typescript code blocks within Markdown files, see #3435 (@MuntasirSZN)
* Themes
* Add Catppuccin, see #3317 (@SchweGELBin)
* Updated Catppuccin, see #3333 (@SchweGELBin)
* Updated gruvbox, see #3372 (@Nicholas42)
* Updated GitHub theme, see #3382 (@CosmicHorrorDev)
* Updated ANSI theme to highlight JSON object keys differently from values, see #3413 (@keith-hall)
-------------------------------------------------------------------
Mon Oct 13 21:05:16 UTC 2025 - Ondřej Súkup <mimi.vx@gmail.com>
- cleanup _service
- refresh vendor.tar.zst to fix build problems
-------------------------------------------------------------------
Wed Jan 8 07:10:49 UTC 2025 - Michael Vetter <mvetter@suse.com>
- Update to 0.25.0:
Features:
* Set terminal title to file names when Paging is not Paging::Never #2807
* bat --squeeze-blank/bat -s will now squeeze consecutive empty lines, see #1441 and #2665
* bat --squeeze-limit to set the maximum number of empty consecutive when using --squeeze-blank, see #1441 #2665
* PrettyPrinter::squeeze_empty_lines to support line squeezing for bat as a library, see #1441 #2665
* Syntax highlighting for JavaScript files that start with #!/usr/bin/env bun #2913
* bat --strip-ansi={never,always,auto} to remove ANSI escape sequences from bat's input, see #2999
* Add or remove individual style components without replacing all styles #2929
* Automatically choose theme based on the terminal's color scheme, see #2896
* Add option --binary=as-text for printing binary content, see issue #2974 and PR #2976
* Make shell completions available via --completion <shell>, see issue #2057 and PR #3126
* Syntax highlighting for puppet code blocks within Markdown files, see #3152
Bugfixes:
* Fix long file name wrapping in header, see #2835
* Fix NO_COLOR support, see #2767
* Fix handling of inputs with OSC ANSI escape sequences, see #2541 and #2544
* Fix handling of inputs with combined ANSI color and attribute sequences, see #2185 and #2856
* Fix panel width when line 10000 wraps, see #2854
* Fix compile issue of time dependency caused by standard library regression #3045
* Fix override behavior of --plain and --paging, see issue #2731 and PR #3108
* Fix bugs in $LESSOPEN support, see #2805
Other:
* Upgrade to Rust 2021 edition #2748
* Refactor and cleanup build script #2756
* Checks changelog has been written to for PRs in CI #2766
+ Use GitHub API to get correct PR submitter #2791
* Minor benchmark script improvements #2768
* Update Arch Linux package URL in README files #2779
* Update and improve zsh completion, see #2772
* More extensible syntax mapping mechanism #2755
* Use proper Architecture for Debian packages built for musl, see #2811
* Pull in fix for unsafe-libyaml security advisory, see #2812
* Update git-version dependency to use Syn v2, see #2816
* Update git2 dependency to v0.18.2, see #2852
* Improve performance when color output disabled, see #2397 and #2857
* Relax syntax mapping rule restrictions to allow brace expansion #2865
* Apply clippy fixes #2864
* Faster startup by offloading glob matcher building to a worker thread #2868
* Display which theme is the default one in basic output (no colors), see #2937
* Display which theme is the default one in colored output, see #2838
* Add aarch64-apple-darwin ("Apple Silicon") binary tarballs to releases, see #2967
* Update the Lisp syntax, see #2970
* Use bat's ANSI iterator during tab expansion, see #2998
* Support 'statically linked binary' for aarch64 in 'Release' page, see #2992
* Update options in shell completions and the man page of bat, see #2995
* Update nix dev-dependency to v0.29.0, see #3112
* Bump MSRV to 1.74, see #3154
* Update clircle dependency to remove winapi transitive dependency, see #3113
Syntaxes:
* cmd-help: scope subcommands followed by other terms, and other misc improvements, see #2819
* Upgrade JQ syntax, see #2820
* Add syntax mapping for quadman quadlets #2866
* Map containers .conf files to TOML syntax #2867
* Associate .xsh files with xonsh syntax that is Python, see #2840
* Associate JSON with Comments .jsonc with json syntax, see #
* Associate JSON-LD .jsonld files with json syntax, see #3037
* Associate .textproto files with ProtoBuf syntax, see #3038
* Associate GeoJSON .geojson files with json syntax, see #3084
* Associate .aws/{config,credentials}, see #2795
* Associate Wireguard config /etc/wireguard/*.conf, see #2874
* Add support for CFML, see #3031
* Map *.mkd files to Markdown syntax, see issue #3060 and PR #3061
* Add syntax mapping for CITATION.cff, see #3103
* Add syntax mapping for kubernetes config files #3049
* Adds support for pipe delimiter for CSV #3115
* Add syntax mapping for /etc/pacman.conf #2961
* Associate uv.lock with TOML syntax, see #3132
Themes:
* Patched/improved themes for better Manpage syntax highlighting support, see #2994
-------------------------------------------------------------------
Tue Nov 19 22:43:42 UTC 2024 - Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>

View File

@@ -1,7 +1,7 @@
#
# spec file for package bat
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,15 @@
Name: bat
Version: 0.24.0
Version: 0.26.1
Release: 0
Summary: A cat(1) clone with syntax highlighting and Git integration
License: Apache-2.0 OR MIT
Group: Productivity/Text/Utilities
URL: https://github.com/sharkdp/bat
Source0: %{name}-%{version}.tar.xz
Source1: vendor.tar.xz
Source0: https://github.com/sharkdp/bat/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
# weak-dep-features introduced in 1.60 and already used by libgit2-sys
# https://github.com/rust-lang/git2-rs/commit/d8ee105a8f3ce4d5c57cd091b67943aab86b176a
BuildRequires: rust >= 1.60
BuildRequires: rust >= 1.79
ExclusiveArch: %{rust_arches}
%description
@@ -63,7 +60,7 @@ BuildArch: noarch
Zsh command line completion support for %{name}.
%prep
%setup -qa1
%autosetup -a1 -p1 -n %{name}-%{version}
%build
%{cargo_build}

View File

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

3
vendor.tar.zst Normal file
View File

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