diff --git a/macros.python3 b/macros.python3 index 05e3c30..2bd193b 100644 --- a/macros.python3 +++ b/macros.python3 @@ -19,7 +19,7 @@ # compilation macros that might be in use somewhere %py3_compile(O) \ find %1 -name '*.pyc' -exec rm -f {} ";"\ -python3-c "import sys, os, compileall; br='%{buildroot}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1\ +python3 -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1\ %{-O:\ find %1 -name '*.pyo' -exec rm -f {} ";"\ python3 -O -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1\ diff --git a/python38.changes b/python38.changes index d1608e6..8ad2477 100644 --- a/python38.changes +++ b/python38.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 13 11:19:08 UTC 2020 - Callum Farmer + +- Fix %py3_compile being incorrectly defined + ------------------------------------------------------------------- Fri Jul 10 10:55:15 UTC 2020 - Tomáš Chvátal