Use make and not make_build macro, as it's not in EL7

This commit is contained in:
Colin Walters 2015-08-05 16:33:31 -04:00
parent 7eff9ab2ea
commit 0abbf51daf

View File

@ -137,13 +137,13 @@ cp -a . %{py3dir}
%build %build
%cmake %_cmake_opts \ %cmake %_cmake_opts \
-DPythonLibs_FIND_VERSION=2 -DPythonLibs_FIND_VERSION_MAJOR=2 -DPythonLibs_FIND_VERSION=2 -DPythonLibs_FIND_VERSION_MAJOR=2
%make_build make %{?_smp_mflags}
%if %{with python3} %if %{with python3}
pushd %{py3dir}/ pushd %{py3dir}/
%cmake %_cmake_opts \ %cmake %_cmake_opts \
-DPythonLibs_FIND_VERSION=3 -DPythonLibs_FIND_VERSION_MAJOR=3 -DPythonLibs_FIND_VERSION=3 -DPythonLibs_FIND_VERSION_MAJOR=3
%make_build make %{?_smp_mflags}
popd popd
%endif %endif