From b7173901d321bc30f7e74a34f59aa24018b5070e219e0f7a58c84404dbe54752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 10 Jul 2020 07:57:38 +0000 Subject: [PATCH] - Revert the full versioning of calls on the macros. These are generic so they should really just call python3 X OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=6 --- macros.python3 | 6 +++--- python38.changes | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) 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