summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bat.spec8
1 files 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