If you try to build a package contains no binary executables (eg. shell scripts only) the processing of dependencies fails with Segmentation Fault.
As I see there is the solution of this bug in the bug 2712. It'd be good to put the new version of rpm to the RedHat Linux 6.0 updates directory.
*** This bug has been marked as a duplicate of 2712 ***