diff options
author | CoprDistGit <infra@openeuler.org> | 2023-07-06 01:06:23 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-07-06 01:06:23 +0000 |
commit | 7c690297d572ea09823b5db763aa7a6827c9f831 (patch) | |
tree | d6acda99772f39ff02f9864f87d60fdbee3cc945 | |
parent | c145bf6e1eb672a006dfc0838ff73e4c4e507098 (diff) |
automatic import of bat
-rw-r--r-- | bat.spec | 13 | ||||
-rw-r--r-- | sources | 1 |
2 files changed, 5 insertions, 9 deletions
@@ -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 @@ -1,2 +1 @@ 678e13187ba4202fd3588a72f3e2bc9e bat-0.23.0.tar.gz -c05ee2643187fb24b468f36837572423 cargo_config.tar.gz |