The following configuration defined in the spec file used for building the RPM of the nmap source code is incorrect:
Requires: python >= 3.0
The correct configuration should be:
Requires: python3 >= 3.0
Because in RPM package-based Linux distributions, version 3 of Python is named python3 instead of python.