Browse Source

even more path bashing in install templates

Michael van Elst 22 years ago
parent
commit
dbf938a3fa
1 changed files with 4 additions and 1 deletions
  1. 4 1
      python/python.spec

+ 4 - 1
python/python.spec

@@ -73,7 +73,10 @@ AutoReqProv:  no
         Modules/getpath.c
     %{l_shtool} subst \
         -e 's;\+ *sys\.version\[:3\];;g' \
-        Lib/*.py Lib/*/*.py
+        Lib/*.py Lib/*/*.py Lib/*/*/*.py
+    %{l_shtool} subst \
+        -e 's;python\$py_version_short;python;g' \
+        Lib/distutils/command/install.py
 
 %build
     CC="%{l_cc}" \