Fix typo in macros.python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=2
This commit is contained in:
parent
6d6343ca6b
commit
5ab6b5f996
@ -19,7 +19,7 @@
|
|||||||
# 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-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 -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\
|
||||||
|
Loading…
Reference in New Issue
Block a user