diff --git a/mesa.spec b/mesa.spec index 0b1ca80..aaea9c5 100644 --- a/mesa.spec +++ b/mesa.spec @@ -83,9 +83,7 @@ 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 +%{?githash:BuildRequires: git} BuildRequires: pkgconfig autoconf automake libtool %if %{with_hardware} BuildRequires: kernel-headers