[packages/python3] python points to python3 now
arekm
arekm at pld-linux.org
Mon Mar 25 11:05:44 CET 2024
commit d073fb40c26996aedc0c52fdea5af8b596e4f395
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Mar 25 09:58:15 2024 +0100
python points to python3 now
python3.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/python3.spec b/python3.spec
index 503d98b..686f876 100644
--- a/python3.spec
+++ b/python3.spec
@@ -669,6 +669,9 @@ install -p Tools/patchcheck/reindent.py $RPM_BUILD_ROOT%{_bindir}/pyreindent%{py
%{__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
@@ -687,6 +690,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/d073fb40c26996aedc0c52fdea5af8b596e4f395
More information about the pld-cvs-commit
mailing list