summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-07-05 07:53:22 +0000
committerCoprDistGit <infra@openeuler.org>2023-07-05 07:53:22 +0000
commit80dea39149c331fdb511c57260d7740b1149a9fd (patch)
treeb0a95c254bda3ac079b74fd4ea43931e888516ea
parent5c8a6461d4d4161ee7d027a8a7ee5f2682bac14c (diff)
automatic import of bat
-rw-r--r--README.md7
-rw-r--r--bat.spec4
2 files changed, 9 insertions, 2 deletions
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