summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-07-05 08:12:23 +0000
committerCoprDistGit <infra@openeuler.org>2023-07-05 08:12:23 +0000
commita7659df567da1af0f963d0cb5930b6b3ea950301 (patch)
treebee467c183eb23ff469d96a7097950fb5e981d64
parent80dea39149c331fdb511c57260d7740b1149a9fd (diff)
automatic import of bat
-rw-r--r--bat.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/bat.spec b/bat.spec
index 05a1fd3..a6b687d 100644
--- a/bat.spec
+++ b/bat.spec
@@ -14,8 +14,9 @@ BuildRequires: cargo
A cat(1) clone with syntax highlighting and Git integration.
%prep
-%autosetup
+
+%setup -n %{name}-%{version}
%install
-cat ~/.cargo/config
+cat %{source1}
cargo install --locked bat