summaryrefslogtreecommitdiff
path: root/bat.spec
diff options
context:
space:
mode:
Diffstat (limited to 'bat.spec')
-rw-r--r--bat.spec4
1 files changed, 2 insertions, 2 deletions
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