Change python to %{__python} macro 39/321039/1 accepted/tizen_base accepted/tizen_base_x tizen_base accepted/tizen/base/20250314.085129 accepted/tizen/base/x/20250314.094226
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 13 Mar 2025 08:11:23 +0000 (17:11 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 13 Mar 2025 08:11:29 +0000 (17:11 +0900)
Change-Id: I81f87a9603be988420fa0b236e94993cd1cb80f9

packaging/python-pyparsing.spec

index 2c1f282e633dba5598f4c321d99d5b6f7eda6904..bebe1a22e2645ff0eb73b298046721bc88babaa2 100644 (file)
@@ -44,12 +44,12 @@ code uses to construct the grammar directly in Python code.
 
 %build
 cp %{SOURCE1001} .
-python setup.py build
+%{__python} setup.py build
 # Fix wrong EOL encoding:
 sed -i 's/\r$//' CHANGES LICENSE README examples/*
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 # ensure egg-info is a directory
 rm %{buildroot}%{python_sitelib}/*.egg-info