Resubmitting this bug as it got lost in the bugzilla crash.
This package fails to build in mock. build.log is attached.
The problem can be fixed by adding a buildreq of m4.
Created attachment 130842 [details]
Build log with minimal environment
Fixed in rawhide in rpm sendmail-8.13.7-1 or newer.