rpm needs python, so link it to python3

This commit is contained in:
Chris Cromer 2020-06-01 22:44:23 -04:00
parent 86b9d18e9b
commit 73619b0046
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A

View File

@ -40,6 +40,7 @@ cd %{_builddir}
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/script (dev).tmpl"
ln -sfv python3 %{buildroot}/usr/bin/python
#-----------------------------------------------------------------------------
# Copy license/copying file
install -D -m644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE