diff options
author | CoprDistGit <infra@openeuler.org> | 2023-07-06 08:46:28 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-07-06 08:46:28 +0000 |
commit | 2ec95d96b9ee162b9e13c842b7d3ee85082fa827 (patch) | |
tree | 4c64f1cb891ae7dd2fe75974700f6320b898af9c | |
parent | 42be6fb982d609ce31f584122574344d7f856eb4 (diff) |
automatic import of bat
-rw-r--r-- | bat.spec | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -21,14 +21,20 @@ mkdir -p ~/.cargo/ cp %{SOURCE1} ~/.cargo/ cargo -V -cargo check %build cargo build --release %install -cp target/release/bat %{_bindir}/ -ls %{_bindir} -al +mkdir -p %{buildroot}%{_bindir} +cp ./target/release/bat %{buildroot}%{_bindir} +ls %{buildroot}%{_bindir} -al + +%files +%{_bindir}/%{name} +%doc README.md +%{_mandir}/man1/%{name}.1.gz +%license LICENSE-MIT LICENSE-APACHE %changelog * 07 06 2023 zerocraft <zero.craft@hotmail.com> - 0.23.0 |