summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>2015-05-17 22:29:43 +0300
committerIgor Gnatenko <i.gnatenko.brain@gmail.com>2015-05-17 22:29:43 +0300
commitb4e2acb6069666aa61f11211b0f3f8b515068c41 (patch)
tree6f4a5c328f1f2c60cc3967a36781bf2dcd2639ec
parentaef09c57447e784a7813f318db9d40423db33da0 (diff)
downloadmesa-b4e2acb6069666aa61f11211b0f3f8b515068c41.tar.gz
mesa-b4e2acb6069666aa61f11211b0f3f8b515068c41.tar.xz
mesa-b4e2acb6069666aa61f11211b0f3f8b515068c41.zip
fix macro
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
-rw-r--r--mesa.spec4
1 files changed, 1 insertions, 3 deletions
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