From 1a0e57c2b48f310a793d705879fb0d7b6b91fbcc Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 6 Jul 2023 12:29:38 +0000 Subject: automatic import of bat --- bat.spec | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/bat.spec b/bat.spec index 8a52bb6..463c97f 100644 --- a/bat.spec +++ b/bat.spec @@ -14,13 +14,9 @@ BuildRequires: cargo git A cat(1) clone with syntax highlighting and Git integration. %prep - -%setup -n %{name}-%{version} - -mkdir -p ~/.cargo/ -cp %{SOURCE1} ~/.cargo/ - +%autosetup -n %{name}-%{version} cargo -V +cp %{SOURCE1} ~/.cargo/ %build cargo build --release -- cgit v1.2.3