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
|
||||
%cmake %_cmake_opts \
|
||||
-DPythonLibs_FIND_VERSION=2 -DPythonLibs_FIND_VERSION_MAJOR=2
|
||||
%make_build
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%if %{with python3}
|
||||
pushd %{py3dir}/
|
||||
%cmake %_cmake_opts \
|
||||
-DPythonLibs_FIND_VERSION=3 -DPythonLibs_FIND_VERSION_MAJOR=3
|
||||
%make_build
|
||||
make %{?_smp_mflags}
|
||||
popd
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user