From 80dea39149c331fdb511c57260d7740b1149a9fd Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 5 Jul 2023 07:53:22 +0000 Subject: automatic import of bat --- README.md | 7 +++++++ bat.spec | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..28b667b --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# bat + +## Description + +A cat(1) clone with syntax highlighting and Git integration. + +form github [bat](https://github.com/sharkdp/bat) diff --git a/bat.spec b/bat.spec index 5445ed5..05a1fd3 100644 --- a/bat.spec +++ b/bat.spec @@ -6,6 +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/README.md BuildRequires: cargo @@ -16,6 +17,5 @@ A cat(1) clone with syntax highlighting and Git integration. %autosetup %install -export RUSTUP_DIST_SERVER="https://rsproxy.cn" -export RUSTUP_UPDATE_ROOT="https://rsproxy.cn/rustup" +cat ~/.cargo/config cargo install --locked bat -- cgit v1.2.3