From 98f17c2f632f19abf9106629dfbc89e5152ca1fb Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 29 Jul 2018 23:26:36 +0200 Subject: [PATCH] Switch to %py2_install 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 0bb7bf6..6830b4c 100644 --- a/python-configshell.spec +++ b/python-configshell.spec @@ -65,7 +65,7 @@ popd %install rm -rf %{buildroot} -%{__python} setup.py install --skip-build --root %{buildroot} +%py2_install %if 0%{?with_python3} pushd %{py3dir}