From bdde2b2b35253ad7c39549e293369e47cb1befb6 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Fri, 22 Mar 2024 22:35:44 -0500 Subject: [PATCH] Try to fix OBS tumbleweed builds Add git as a build requirement. Package name guessed then confirmed by searching on rpm.pbone.net against openSUSE Tumbleweed. Log excerpt: [ 14s] CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:2910 (message): [ 14s] error: could not find git for clone of corrosion-populate --- fish.spec.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fish.spec.in b/fish.spec.in index 22cea739d..4c3c84cf7 100644 --- a/fish.spec.in +++ b/fish.spec.in @@ -9,7 +9,8 @@ Group: System/Shells URL: https://fishshell.com/ Source0: %{name}_@VERSION@.orig.tar.xz -BuildRequires: cargo gettext gcc-c++ xz pcre2-devel +# Corrosion requires git, and it's not always preinstalled +BuildRequires: cargo gettext gcc-c++ xz pcre2-devel git BuildRequires: rust >= 1.67 %if 0%{?rhel} && 0%{?rhel} < 8