From 5ab6b5f99694883149e9178e4656c71d96ed0eca81db6d3fb38bef87af3df6de Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 13 Jul 2020 12:15:23 +0000 Subject: [PATCH] Fix typo in macros.python3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=2 --- macros.python3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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\