add git to BR if we are building githash

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
Igor Gnatenko 2015-05-17 22:22:48 +03:00
parent 7f1320a952
commit aef09c5744

View file

@ -83,6 +83,9 @@ Patch60: mesa-10.6-nir-linker.patch
# https://bugs.freedesktop.org/show_bug.cgi?id=73512
Patch99: 0001-opencl-use-versioned-.so-in-mesa.icd.patch
%if %{?githash}
BuildRequires: git
%endif
BuildRequires: pkgconfig autoconf automake libtool
%if %{with_hardware}
BuildRequires: kernel-headers