From c145bf6e1eb672a006dfc0838ff73e4c4e507098 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 5 Jul 2023 09:19:26 +0000 Subject: automatic import of bat --- bat.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'bat.spec') diff --git a/bat.spec b/bat.spec index 6e80e6c..7cd2744 100644 --- a/bat.spec +++ b/bat.spec @@ -6,7 +6,8 @@ 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/cargo_config.tar.gz +Source1: cargo_config.tar.gz +Source2: config BuildRequires: cargo @@ -17,6 +18,17 @@ A cat(1) clone with syntax highlighting and Git integration. %setup -n %{name}-%{version} -%install +tar xf %{SOURCE1} + +cp %{SOURCE2} ~/.cargo/ + ls -al + +ls ~/.cargo/ + +%install cargo install --locked bat + +%changelog +* 07 05 2023 zerocraft - 0.23.0 +- openEuler init -- cgit v1.2.3