From 310c8070ccfccf57e51316654d632ca085537e7b Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 5 Jul 2023 08:43:54 +0000 Subject: automatic import of bat --- .gitignore | 1 + bat.spec | 5 ++--- sources | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 361363a..ff90da1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /bat-0.23.0.tar.gz /config.zip +/cargo_config.tar.gz diff --git a/bat.spec b/bat.spec index 83abc4f..6e80e6c 100644 --- a/bat.spec +++ b/bat.spec @@ -6,7 +6,7 @@ License: Apache-2.0, MIT URL: https://github.com/sharkdp/bat Source0: https://gitee.com/zerocraft/bat/blob/master/bat-%{version}.tar.gz -Source1: https://gitee.com/zerocraft/bat/blob/master/config.zip +Source1: https://gitee.com/zerocraft/bat/blob/master/cargo_config.tar.gz BuildRequires: cargo @@ -18,6 +18,5 @@ A cat(1) clone with syntax highlighting and Git integration. %setup -n %{name}-%{version} %install -cat %{source1} +ls -al cargo install --locked bat -unzip %{source1} diff --git a/sources b/sources index 2d9c6b5..7db6204 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ 678e13187ba4202fd3588a72f3e2bc9e bat-0.23.0.tar.gz -9478c97e444858a1a000480b64121c9b config.zip +c05ee2643187fb24b468f36837572423 cargo_config.tar.gz -- cgit v1.2.3