--- spyder/app/utils.py.orig	2022-03-30 18:54:18.000000000 -0400
+++ spyder/app/utils.py	2022-04-03 11:02:06.000000000 -0400
@@ -80,7 +80,7 @@
             return file_uri(osp.join(doc_path, python_chm[0]))
     else:
         vinf = sys.version_info
-        doc_path = '/usr/share/doc/python%d.%d/html' % (vinf[0], vinf[1])
+        doc_path = '@@PREFIX@@/share/doc/python%d.%d/html' % (vinf[0], vinf[1])
     python_doc = osp.join(doc_path, "index.html")
     if osp.isfile(python_doc):
         return file_uri(python_doc)
