[packages/python3] python points to python3 now

Jan Palus atler at pld-linux.org
Mon Mar 25 10:22:00 CET 2024


On 25.03.2024 11:05, arekm wrote:
> 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
> +

I guess all those packages that still meet `ipoldek what-requires /usr/bin/python`
might not be happy about it.


More information about the pld-devel-pl mailing list