Change python to %{__python} macro 17/321117/1 accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20250314.155235 accepted/tizen/unified/x/20250317.033618
authorDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 14 Mar 2025 05:00:21 +0000 (14:00 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 14 Mar 2025 05:00:21 +0000 (14:00 +0900)
Change-Id: I0998f86c0d7df78eae4f9536e5bffe0b1e7bb141

packaging/python-M2Crypto.spec

index 610e9ab1b0b3126bd94aa5ffe5b0eb5a542dc68c..9068643d78785c9c9128b42b2139430c9d7d8c59 100644 (file)
@@ -54,10 +54,10 @@ original M2Crypto homepage is at http://sandbox.rulemaker.net/ngps/m2/.
 cp %{SOURCE1001} .
 
 %build
-CFLAGS="%{optflags}" python setup.py build
+CFLAGS="%{optflags}" %{__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