summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-07-05 08:43:54 +0000
committerCoprDistGit <infra@openeuler.org>2023-07-05 08:43:54 +0000
commit310c8070ccfccf57e51316654d632ca085537e7b (patch)
tree51fa3fabdfbcfa64f739231e22ed5e5775b35e45
parent884eafbe519a40c8b92faedce4d807787009057b (diff)
automatic import of bat
-rw-r--r--.gitignore1
-rw-r--r--bat.spec5
-rw-r--r--sources2
3 files changed, 4 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 361363a..ff90da1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/bat-0.23.0.tar.gz
/config.zip
+/cargo_config.tar.gz
diff --git a/bat.spec b/bat.spec
index 83abc4f..6e80e6c 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/config.zip
+Source1: https://gitee.com/zerocraft/bat/blob/master/cargo_config.tar.gz
BuildRequires: cargo
@@ -18,6 +18,5 @@ A cat(1) clone with syntax highlighting and Git integration.
%setup -n %{name}-%{version}
%install
-cat %{source1}
+ls -al
cargo install --locked bat
-unzip %{source1}
diff --git a/sources b/sources
index 2d9c6b5..7db6204 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
678e13187ba4202fd3588a72f3e2bc9e bat-0.23.0.tar.gz
-9478c97e444858a1a000480b64121c9b config.zip
+c05ee2643187fb24b468f36837572423 cargo_config.tar.gz