Switch to %py2_install

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-07-30 00:25:30 +02:00
parent 76287bb08d
commit 926a09d34b
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -45,7 +45,7 @@ Linux kernel modules, using libkmod.
%{__python3} setup.py build
%install
%{__python} setup.py install --skip-build --root %{buildroot}
%py2_install
%{__python3} setup.py install --skip-build --root %{buildroot}
%files -n python2-kmod