- 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
This commit is contained in:
parent
cb7558d16f
commit
b7173901d3
@ -13,16 +13,16 @@
|
|||||||
# hard to say if anyone ever used these?
|
# hard to say if anyone ever used these?
|
||||||
#py3_soflags cpython-35m-x86_64-linux-gnu
|
#py3_soflags cpython-35m-x86_64-linux-gnu
|
||||||
#py3_abiflags m
|
#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
|
%py3_soflags %cpython3_soabi
|
||||||
|
|
||||||
# compilation macros that might be in use somewhere
|
# compilation macros that might be in use somewhere
|
||||||
%py3_compile(O) \
|
%py3_compile(O) \
|
||||||
find %1 -name '*.pyc' -exec rm -f {} ";"\
|
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:\
|
%{-O:\
|
||||||
find %1 -name '*.pyo' -exec rm -f {} ";"\
|
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\
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 10 07:57:10 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- 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 <tchvatal@suse.com>
|
Fri Jul 10 07:56:11 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user