Miro Hrončok 6 years ago
parent 0a9ece1053
commit a7f8b77094

@ -72,7 +72,7 @@ cp -a . %{py3dir}
CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build
%if 0%{?with_python3} %if 0%{?with_python3}
pushd %{py3dir} pushd %{py3dir}
CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build %py3_build
popd popd
%endif %endif
@ -86,7 +86,7 @@ popd
%install %install
%if 0%{?with_python3} %if 0%{?with_python3}
pushd %{py3dir} pushd %{py3dir}
%{__python3} setup.py install --skip-build --root %{buildroot} %py3_install
popd popd
%endif %endif
%{__python2} setup.py install --skip-build --root %{buildroot} %{__python2} setup.py install --skip-build --root %{buildroot}

Loading…
Cancel
Save