From 2a65570939391f9d26d65dd8cbd80117e1ecaa7f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 29 Jul 2018 23:25:12 +0200 Subject: [PATCH] Switch to %py2_build Signed-off-by: Igor Gnatenko --- ddiskit.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddiskit.spec b/ddiskit.spec index 512c116..b838a56 100644 --- a/ddiskit.spec +++ b/ddiskit.spec @@ -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}