Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert %_smp_build_ncpus change to a parametric macro (RhBug:2210347)
Commit a213101 changed %_smp_build_ncpus into a parametric macro, but this breaks common usage via the Lua macros table as parametric macros are returned as closures rather than the expanded value. This seems like a design flaw of the macros table, but as an immediate remedy for the breakage, add another layer of indirection to revert %_smp_build_ncpus back to a non-parametric macro. Fixes %constrain_build macro in Fedora, which ironically is made obsolete by the change that (unintentionally) broke it.
- Loading branch information