From 2ff47dcd93fedaa02e631a09a88ab755b0a26ba1 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 29 Jul 2018 23:25:09 +0200 Subject: [PATCH] Switch to %py2_build Signed-off-by: Igor Gnatenko --- python-configshell.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-configshell.spec b/python-configshell.spec index ec511d2..0bb7bf6 100644 --- a/python-configshell.spec +++ b/python-configshell.spec @@ -55,7 +55,7 @@ cp -a . %{py3dir} %endif %build -%{__python} setup.py build +%py2_build %if 0%{?with_python3} pushd %{py3dir}