RPM silently ignore the BuildPrereq statement in the SPEC file. I used rpm -ba command. The build process then fail by unresolved building dependencies.
Add "--nodeps" to the build arguments if you wish to disable build dependency checking.
No, rpm *ignore* BuildPrereq: dependencies in SPEC file so when rebulding packages the is no message about unresolved dependencies and compilation thus fail (because there are no packages required by SPEC file in the system and rpm did not inform about this unresolved dependencies). Simply BuildPrereq: do nothing. I can write whatever here with no effect.
Is your BuildPreReq: in the spec file preamble (i.e. near the top of the spec file with other tags?) FWIW, I use BuildPreReq:'s routinely, and they "work for me" ...