From d235bde7407a4de5a6e7e4f21192f38163977f28d33936bfa054c7276b77eacb Mon Sep 17 00:00:00 2001 From: Dany Marcoux Date: Wed, 16 Jun 2021 09:24:39 +0000 Subject: [PATCH] Accepting request 899909 from home:iDesmI:branches:utilities - Rewritten specfile - Update to version 0.18.1: * Update binary assets * Bump version, update dependencies * Updated CHANGELOG * Bump assets/syntaxes/02_Extra/Lean from `824213d` to `29a03a8` * Bump serde from 1.0.124 to 1.0.125 * Bump bugreport from 0.3.0 to 0.4.0 * Bump assets/syntaxes/02_Extra/FSharp from `c18616d` to `9e4645c` * add warning highlighting to log file syntax definition * add word boundaries to log syntax highlighting * Add independent log syntax * improve syslog syntax * replace Syslog dependency with a custom syntax * add example syslog file for highlighting tests * Revert "Update of themes.bin that adds Dark+" * Update of themes.bin that adds Dark+ * Add "Visual Studio Dark+" theme to vec of themes * Add Dark+ theme OBS-URL: https://build.opensuse.org/request/show/899909 OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=27 --- README.packager | 18 ------------------ _service | 25 +++++++++++++++++++++++++ _servicedata | 4 ++++ bat-0.18.0.tar.gz | 3 --- bat-0.18.1.tar.xz | 3 +++ bat.changes | 22 ++++++++++++++++++++++ bat.spec | 41 ++++++++++++++++++----------------------- vendor.tar.xz | 4 ++-- 8 files changed, 74 insertions(+), 46 deletions(-) delete mode 100644 README.packager create mode 100644 _service create mode 100644 _servicedata delete mode 100644 bat-0.18.0.tar.gz create mode 100644 bat-0.18.1.tar.xz diff --git a/README.packager b/README.packager deleted file mode 100644 index 0b77ec0..0000000 --- a/README.packager +++ /dev/null @@ -1,18 +0,0 @@ -# Heavily based on https://build.opensuse.org/package/view_file/devel:languages:rust/racer/README.packager (Thank you for this!) -# -# Generating `vendor.tar.xz` - -1. Install `cargo` from official repositories. - - zypper install cargo - -2. Checkout version - - 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 - - cargo vendor - tar -cJf vendor.tar.xz vendor diff --git a/_service b/_service new file mode 100644 index 0000000..3580822 --- /dev/null +++ b/_service @@ -0,0 +1,25 @@ + + + + + git + git://github.com/sharkdp/bat + v0.18.1 + @PARENT_TAG@ + enable + v(.*) + + + + + + *.tar + xz + + + bat + + + bat + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..ee24097 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + git://github.com/sharkdp/bat + f827ed338bf5702d7f755e57648e7336492e886a \ No newline at end of file diff --git a/bat-0.18.0.tar.gz b/bat-0.18.0.tar.gz deleted file mode 100644 index ce0a6d6..0000000 --- a/bat-0.18.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:49d1b95250050df47753c213b5e48953a029c9e74753cef371051b14c9d629b8 -size 1329827 diff --git a/bat-0.18.1.tar.xz b/bat-0.18.1.tar.xz new file mode 100644 index 0000000..8cbe3b1 --- /dev/null +++ b/bat-0.18.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:22bc0a93b6cb47d311939d9a38c9e9b366ae50a3e4ef35e040e455c8cc1530df +size 50719448 diff --git a/bat.changes b/bat.changes index 9c0be62..404b05b 100644 --- a/bat.changes +++ b/bat.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sun Jun 13 19:33:37 UTC 2021 - idesmi@protonmail.com + +- Update to version 0.18.1: + * Update binary assets + * Bump version, update dependencies + * Updated CHANGELOG + * Bump assets/syntaxes/02_Extra/Lean from `824213d` to `29a03a8` + * Bump serde from 1.0.124 to 1.0.125 + * Bump bugreport from 0.3.0 to 0.4.0 + * Bump assets/syntaxes/02_Extra/FSharp from `c18616d` to `9e4645c` + * add warning highlighting to log file syntax definition + * add word boundaries to log syntax highlighting + * Add independent log syntax + * improve syslog syntax + * replace Syslog dependency with a custom syntax + * add example syslog file for highlighting tests + * Revert "Update of themes.bin that adds Dark+" + * Update of themes.bin that adds Dark+ + * Add "Visual Studio Dark+" theme to vec of themes + * Add Dark+ theme + ------------------------------------------------------------------- Thu Mar 25 12:02:19 UTC 2021 - Ismail Dönmez diff --git a/bat.spec b/bat.spec index f7d4e7f..8cc408e 100644 --- a/bat.spec +++ b/bat.spec @@ -17,22 +17,17 @@ Name: bat -Version: 0.18.0 +Version: 0.18.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: https://github.com/sharkdp/bat/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +URL: https://github.com/sharkdp/%{name} +Source0: %{name}-%{version}.tar.xz 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 -BuildRequires: zlib-devel +BuildRequires: rust >= 1.45 +BuildRequires: rust-packaging +ExclusiveArch: %{rust_arches} %description A cat(1) clone which supports syntax highlighting for a large number of @@ -40,24 +35,24 @@ programming and markup languages. It has git integration and automatic paging. %prep %setup -qa1 -mkdir .cargo -cat >.cargo/config <