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.
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| pythontest.spec | ||
| test_evals.py | ||
| test_import_all_modules.py | ||
| tests.yml | ||