This commit is contained in:
aliriza committed 2022-12-07 13:46:04 +00:00
1 parent 95849cc481
commit b90e1a9e58
2 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -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
+2 -3
View File
@@ -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
}