remove git from builddep

can't find git in the module ecosystem and git isn't critical for
package build.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2017-12-03 21:46:29 -05:00
parent 17e49d0e3b
commit 715a2d1412

View File

@ -45,7 +45,6 @@ Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64le %{mips} s390x ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64le %{mips} s390x
# If go_compiler is not set to 1, there is no virtual provide. Use golang instead. # If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
BuildRequires: git
BuildRequires: pkgconfig(libseccomp) BuildRequires: pkgconfig(libseccomp)
BuildRequires: go-md2man BuildRequires: go-md2man
@ -173,7 +172,7 @@ providing packages with %{import_path} prefix.
%endif %endif
%prep %prep
%autosetup -Sgit -n %{name}-%{commit0} %setup -q -n %{name}-%{commit0}
%build %build
mkdir -p GOPATH mkdir -p GOPATH