From 7f891664bc439ea4c954760255d4bfde12ad85f7 Mon Sep 17 00:00:00 2001 From: Hyunjee Kim Date: Thu, 18 Jul 2019 16:19:10 +0900 Subject: [PATCH] Change from python3 to %{_bindir}/python3 Change-Id: Ic10a39c28a8c57093bad54e85f2aab49031d1cdf Signed-off-by: Hyunjee Kim --- packaging/python3-unittest2.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/python3-unittest2.spec b/packaging/python3-unittest2.spec index 90ecc71..84579f3 100644 --- a/packaging/python3-unittest2.spec +++ b/packaging/python3-unittest2.spec @@ -50,10 +50,10 @@ framework in Python 2.7. It is tested to run on Python 2.4 - 2.7. %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 %defattr(-,root,root,-) -- 2.34.1