rpm needs python, so link it to python3
This commit is contained in:
parent
86b9d18e9b
commit
73619b0046
@ -40,6 +40,7 @@ cd %{_builddir}
|
|||||||
rm %{buildroot}%{_libdir}/python3.8/cgi.py
|
rm %{buildroot}%{_libdir}/python3.8/cgi.py
|
||||||
rm "%{buildroot}/usr/lib/python3.8/site-packages/setuptools/command/launcher manifest.xml"
|
rm "%{buildroot}/usr/lib/python3.8/site-packages/setuptools/command/launcher manifest.xml"
|
||||||
rm "%{buildroot}/usr/lib/python3.8/site-packages/setuptools/script (dev).tmpl"
|
rm "%{buildroot}/usr/lib/python3.8/site-packages/setuptools/script (dev).tmpl"
|
||||||
|
ln -sfv python3 %{buildroot}/usr/bin/python
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# Copy license/copying file
|
# Copy license/copying file
|
||||||
install -D -m644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE
|
install -D -m644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE
|
||||||
|
Loading…
Reference in New Issue
Block a user