summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-07-05 08:26:53 +0000
committerCoprDistGit <infra@openeuler.org>2023-07-05 08:26:53 +0000
commit884eafbe519a40c8b92faedce4d807787009057b (patch)
tree7a6018d7ac9e418a3bc99e2a8cee1a9ef0331bfa
parenta7659df567da1af0f963d0cb5930b6b3ea950301 (diff)
automatic import of bat
-rw-r--r--.gitignore1
-rw-r--r--bat.spec3
-rw-r--r--sources1
3 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 6f64b34..361363a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/bat-0.23.0.tar.gz
+/config.zip
diff --git a/bat.spec b/bat.spec
index a6b687d..83abc4f 100644
--- a/bat.spec
+++ b/bat.spec
@@ -6,7 +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
+Source1: https://gitee.com/zerocraft/bat/blob/master/config.zip
BuildRequires: cargo
@@ -20,3 +20,4 @@ A cat(1) clone with syntax highlighting and Git integration.
%install
cat %{source1}
cargo install --locked bat
+unzip %{source1}
diff --git a/sources b/sources
index 240ca80..2d9c6b5 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
678e13187ba4202fd3588a72f3e2bc9e bat-0.23.0.tar.gz
+9478c97e444858a1a000480b64121c9b config.zip