#5 BR git explicitly, it is used in %prep
Merged 3 years ago by msuchy. Opened 3 years ago by churchyard.
rpms/ churchyard/abrt git  into  master

file modified
+1
@@ -57,6 +57,7 @@ 

  License: GPLv2+

  URL: https://abrt.readthedocs.org/

  Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz

+ BuildRequires: git-core

  BuildRequires: %{dbus_devel}

  BuildRequires: hostname

  BuildRequires: gtk3-devel

Previously, it was pulled in transitively, that is no longer true.

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.k6RazT
...
+ /usr/bin/git init -q
/var/tmp/rpm-tmp.k6RazT: line 42: /usr/bin/git: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.k6RazT (%prep)

FTR it is used in lines 597 and 598 of the specfile:

%prep
%global __scm_apply_git(qp:m:) %{__git} am --exclude doc/design --exclude doc/project/abrt.tex
%autosetup -S git -p 0

nice catch, thank you

Pull-Request has been merged by msuchy

3 years ago