The unversioned Python RPM macros
Macros like %{python3_sitelib} were evaluated at every instance in the spec
(each time, Python was started, sysconfig was imported...).
When there were many instances (40+), it might have taken more than a minute to parse the spec file.
This way, the macros are defined via %global on first usage.
Every repetitive usage reuses the actual value.
|
||
|---|---|---|
| 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 | ||