diff --git a/dev/lang/python/pydefault b/dev/lang/python/pydefault index 5ddbd3e7..223e718f 100644 --- a/dev/lang/python/pydefault +++ b/dev/lang/python/pydefault @@ -25,7 +25,7 @@ if [ "$1" != "" ] ; then ln -s 2to3-$version /usr/bin/2to3 ln -s pip$version /usr/bin/pip3 ln -s pip$version /usr/bin/pip - ln -s libpython$version.so /usr/lib64/libpython3.so + ln -s libpython3.so.$version /usr/lib64/libpython3.so ln -s python-$version.pc /usr/lib64/pkgconfig/python3.pc ln -s python-$version-embed.pc /usr/lib64/pkgconfig/python3-embed.pc diff --git a/dev/lang/python3.10/ympbuild b/dev/lang/python3.10/ympbuild index bdf2a6bd..5cf750e4 100644 --- a/dev/lang/python3.10/ympbuild +++ b/dev/lang/python3.10/ympbuild @@ -47,8 +47,7 @@ package(){ done rm -f ${DESTDIR}/usr/lib64/pkgconfig/python3.pc rm -f ${DESTDIR}/usr/lib64/pkgconfig/python3-embed.pc - # remove symlink and move file - rm -f ${DESTDIR}/usr/lib64/libpython3.10.so - mv ${DESTDIR}/usr/lib64/libpython3.10.so ${DESTDIR}/usr/lib64/libpython3.so + # move libpython3.so file + mv ${DESTDIR}/usr/lib64/libpython3.so ${DESTDIR}/usr/lib64/libpython3.so.3.10 }