From 0de1af920d004820627104d40e47fcaaef8cbe8b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 29 Jul 2018 23:28:42 +0200 Subject: [PATCH] Switch to %py2_install Signed-off-by: Igor Gnatenko --- python-prettytable.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-prettytable.spec b/python-prettytable.spec index b57c350..22a0ecb 100644 --- a/python-prettytable.spec +++ b/python-prettytable.spec @@ -97,7 +97,7 @@ pushd %{py3dir} popd %endif -%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT +%py2_install %files -n python2-%{modname}