Change python to %{__python} macro 40/321040/1 accepted/tizen_base accepted/tizen_base_x tizen_base accepted/tizen/base/20250314.085127 accepted/tizen/base/x/20250314.094224
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 13 Mar 2025 08:13:05 +0000 (17:13 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 13 Mar 2025 08:13:05 +0000 (17:13 +0900)
Change-Id: I82ff23d889da184c20df426df3e1057b344f06d1

packaging/python-setuptools.spec

index 0ccdf20ad282e2893169a6fb975d0f7df25e9b3d..81eee1b3e9e81f10692de8aa68cce0551e5dc371 100644 (file)
@@ -66,11 +66,11 @@ sed -r -i '1s@^#!/.*$@@' setuptools/command/easy_install.py
 
 %build
 cp %{SOURCE1001} .
-python bootstrap.py
-python setup.py build
+%{__python} bootstrap.py
+%{__python} setup.py build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 %files
 %manifest %{name}.manifest