From e98292a20e7305ff6413f674618d5477010721c8 Mon Sep 17 00:00:00 2001 From: Hyunjee Kim Date: Tue, 23 Jul 2019 08:39:42 +0900 Subject: [PATCH] Change from python3 to %{_bindir}/python3 Change-Id: Ie41d10efea721e26f155d8a5cb0e7e359b018b14 Signed-off-by: Hyunjee Kim --- packaging/python3-setuptools.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/python3-setuptools.spec b/packaging/python3-setuptools.spec index 1daa839..61bfab3 100644 --- a/packaging/python3-setuptools.spec +++ b/packaging/python3-setuptools.spec @@ -60,10 +60,10 @@ sed -r -i '1s@^#!/.*$@@' setuptools/command/easy_install.py %build cp %{SOURCE1001} . -python3 setup.py build +%{_bindir}/python3 setup.py build %install -python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} +%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %manifest %{name}.manifest -- 2.7.4