[packages/python3/PYTHON_3_10] Rel 2; python points to python3 now

arekm arekm at pld-linux.org
Mon Mar 25 11:05:12 CET 2024


commit db9d0394baef65f2800fb7d0ab29bfc7b618ee0f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Mar 25 09:57:30 2024 +0100

    Rel 2; python points to python3 now

 python3.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/python3.spec b/python3.spec
index 15c9485..5076be0 100644
--- a/python3.spec
+++ b/python3.spec
@@ -48,7 +48,7 @@ Summary(tr.UTF-8):	X arayüzlü, yüksek düzeyli, kabuk yorumlayıcı dili
 Summary(uk.UTF-8):	Мова програмування дуже високого рівня з X-інтерфейсом
 Name:		python3
 Version:	%{py_ver}.14
-Release:	1
+Release:	2
 Epoch:		1
 License:	PSF
 Group:		Development/Languages/Python
@@ -674,6 +674,9 @@ install -p Tools/scripts/reindent.py $RPM_BUILD_ROOT%{_bindir}/pyreindent%{py_ve
 %{__mv} $RPM_BUILD_ROOT%{py_incdir}/pyconfig.h $RPM_BUILD_ROOT%{py_libdir}/config-%{py_platform}/pyconfig.h
 %{__sed} -e's#@PREFIX@#%{_prefix}#g;s#@PY_VER@#%{py_ver}#g;s#@PY_ABI@#%{py_platform}#g' %{SOURCE1} > $RPM_BUILD_ROOT%{py_incdir}/pyconfig.h
 
+# python points to python3 now
+ln -s python3 $RPM_BUILD_ROOT%{_bindir}/python
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -692,6 +695,7 @@ rm -rf $RPM_BUILD_ROOT
 %if "%{py_ver}" != "%{py_abi}"
 %attr(755,root,root) %{_bindir}/python%{py_abi}
 %endif
+%attr(755,root,root) %{_bindir}/python
 %attr(755,root,root) %{_bindir}/python3
 %{_mandir}/man1/python3*.1*
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3.git/commitdiff/db9d0394baef65f2800fb7d0ab29bfc7b618ee0f



More information about the pld-cvs-commit mailing list