Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the %_smp_mflags macro so it works in both TW and SLE16 (#1943)
## Problem - Related to #1939 - Unfortunately SLE16 uses old rpm version 4.18 which does not support `%{getncpus:proc}` (added in 4.19). - We need to compute the value manually. :-/ ## Details - I wanted to use some `%if` and use the new option in TW. However the macro exists in both but in SLE16 it complains about extra argument which is not accepted. And rpm evaluates macros in both `%if` branches... 😟 - So I basically reverted to my original implementation
- Loading branch information