diff --git a/macros.python3 b/macros.python3 index 7214a72..05e3c30 100644 --- a/macros.python3 +++ b/macros.python3 @@ -13,16 +13,16 @@ # hard to say if anyone ever used these? #py3_soflags cpython-35m-x86_64-linux-gnu #py3_abiflags m -%cpython3_soabi %(python3.8 -c "import sysconfig; print(sysconfig.get_config_var('SOABI'))") +%cpython3_soabi %(python3 -c "import sysconfig; print(sysconfig.get_config_var('SOABI'))") %py3_soflags %cpython3_soabi # compilation macros that might be in use somewhere %py3_compile(O) \ find %1 -name '*.pyc' -exec rm -f {} ";"\ -python3.8 -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.8 -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\ +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 1ab9f97..6f70c5c 100644 --- a/python38.changes +++ b/python38.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 10 07:57:10 UTC 2020 - Tomáš Chvátal + +- Revert the full versioning of calls on the macros. These + are generic so they should really just call python3 X + ------------------------------------------------------------------- Fri Jul 10 07:56:11 UTC 2020 - Tomáš Chvátal