Switch to %py2_build

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-07-29 23:25:09 +02:00
parent 72b4bf9253
commit 2ff47dcd93
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -55,7 +55,7 @@ cp -a . %{py3dir}
%endif
%build
%{__python} setup.py build
%py2_build
%if 0%{?with_python3}
pushd %{py3dir}