Switch to %py2_build

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

View File

@ -35,7 +35,7 @@ kernel modules.
%autosetup -n %{name}-%{version}
%build
%{__python} setup.py build
%py2_build
%install
%{__python} setup.py install --skip-build --root %{buildroot}