Switch to %py2_install

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-07-29 23:28:42 +02:00
parent 1ea9e00323
commit 0de1af920d
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -97,7 +97,7 @@ pushd %{py3dir}
popd
%endif
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%py2_install
%files -n python2-%{modname}