From aef09c57447e784a7813f318db9d40423db33da0 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 17 May 2015 22:22:48 +0300 Subject: [PATCH] add git to BR if we are building githash Signed-off-by: Igor Gnatenko --- mesa.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mesa.spec b/mesa.spec index 6c704b0..0b1ca80 100644 --- a/mesa.spec +++ b/mesa.spec @@ -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