diff --git a/Mesa-drivers.changes b/Mesa-drivers.changes index 6cd602c..18038f2 100644 --- a/Mesa-drivers.changes +++ b/Mesa-drivers.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 1 17:07:44 UTC 2019 - Aaron Puchert + +- Use %pkg_vcmp macro instead of llvm-config to detect LLVM 9. + ------------------------------------------------------------------- Fri Oct 25 19:35:23 UTC 2019 - Stefan Dirsch diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index 864327d..fca9a45 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -729,9 +729,9 @@ programs against the XA state tracker. rm -rf docs/README.{VMS,WIN32,OS2} %if 0%{with_llvm} -if test $(llvm-config --version | cut -d "." -f1) -ge 9; then +%if %{pkg_vcmp llvm-devel >= 9.0} %patch1 -p1 -fi +%endif %endif %patch2 -p1 %patch54 -p1 diff --git a/Mesa.changes b/Mesa.changes index 6cd602c..18038f2 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 1 17:07:44 UTC 2019 - Aaron Puchert + +- Use %pkg_vcmp macro instead of llvm-config to detect LLVM 9. + ------------------------------------------------------------------- Fri Oct 25 19:35:23 UTC 2019 - Stefan Dirsch diff --git a/Mesa.spec b/Mesa.spec index 6355d46..5b2f399 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -728,9 +728,9 @@ programs against the XA state tracker. rm -rf docs/README.{VMS,WIN32,OS2} %if 0%{with_llvm} -if test $(llvm-config --version | cut -d "." -f1) -ge 9; then +%if %{pkg_vcmp llvm-devel >= 9.0} %patch1 -p1 -fi +%endif %endif %patch2 -p1 %patch54 -p1