The unversioned Python RPM macros
When we added %_smp_mflags here, Petr Viktorin asked the question: https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/154#comment-124613 > I couldn't find docs for %_smp_mflags. > How much of a guarantee is there that it contains no other flags than -j? My answer was: > %_smp_mflags is documented in https://rpm-packaging-guide.github.io/ > and used in many other RPM macros in Fedora and upstream everywhere. > There is no official guarantee that it will never contain anything else, > but if it does, I assume multiple things would burn. > I am willing to take that risk. Turns out, the world did not burn, but packagers do set %_smp_mflags to -lX, which does not work with compileall. Fixes https://bugzilla.redhat.com/2179149 |
||
---|---|---|
tests | ||
.gitignore | ||
brp-fix-pyc-reproducibility | ||
brp-python-bytecompile | ||
brp-python-hardlink | ||
clamp_source_mtime.py | ||
compileall2.py | ||
import_all_modules.py | ||
macros.pybytecompile | ||
macros.python | ||
macros.python3 | ||
macros.python-srpm | ||
pathfix.py | ||
python-rpm-macros.spec | ||
python.lua | ||
rpminspect.yaml | ||
sources |