From 329080835971815641fdb885d8cecb0b1d532457 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 29 Jul 2018 15:19:44 +0200 Subject: [PATCH] Workaround tests Signed-off-by: Igor Gnatenko --- rust-ripgrep.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rust-ripgrep.spec b/rust-ripgrep.spec index 6133349..afdc9e3 100644 --- a/rust-ripgrep.spec +++ b/rust-ripgrep.spec @@ -47,6 +47,7 @@ BuildRequires: (crate(termcolor) >= 1.0.0 with crate(termcolor) < 2.0.0) # [build-dependencies] BuildRequires: ((crate(clap) >= 2.29.4 with crate(clap) < 3.0.0) with crate(clap/suggestions) with crate(clap/color)) BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0) +BuildRequires: git-core BuildRequires: %{_bindir}/a2x %description @@ -60,7 +61,8 @@ Line oriented search tool using Rust's regex library. Combines the raw performance of grep with the usability of the silver searcher. %prep -%autosetup -n %{crate}-%{version} -p1 +# Use -Sgit to workaround https://github.com/BurntSushi/ripgrep/issues/996 +%autosetup -n %{crate}-%{version} -p1 -Sgit %cargo_prep %build