python fixes

This commit is contained in:
aliriza committed 2022-12-07 13:42:59 +00:00
1 parent c8acb70aa8
commit 95849cc481
2 files changed
+12

No files matched your search

+5
View File
@@ -45,5 +45,10 @@ package(){
for bin in pydoc3 idle3 python3 python3-config pip3 2to3; do
rm -f ${DESTDIR}/usr/bin/$bin
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
}