summaryrefslogtreecommitdiff
path: root/bat.spec
diff options
context:
space:
mode:
Diffstat (limited to 'bat.spec')
-rw-r--r--bat.spec13
1 files changed, 5 insertions, 8 deletions
diff --git a/bat.spec b/bat.spec
index 7cd2744..597a9f9 100644
--- a/bat.spec
+++ b/bat.spec
@@ -6,8 +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: cargo_config.tar.gz
-Source2: config
+Source1: config
BuildRequires: cargo
@@ -18,17 +17,15 @@ A cat(1) clone with syntax highlighting and Git integration.
%setup -n %{name}-%{version}
-tar xf %{SOURCE1}
-
-cp %{SOURCE2} ~/.cargo/
+mkdir -p ~/.cargo/
+cp %{SOURCE1} ~/.cargo/
ls -al
-
-ls ~/.cargo/
+ls ~/.cargo/ -al
%install
cargo install --locked bat
%changelog
-* 07 05 2023 zerocraft <zero.craft@hotmail.com> - 0.23.0
+* 07 06 2023 zerocraft <zero.craft@hotmail.com> - 0.23.0
- openEuler init