Use make and not make_build macro, as it's not in EL7
This commit is contained in:
parent
7eff9ab2ea
commit
0abbf51daf
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user