In some very special case, you would encounter dos2unix Segementation fault if run this command in Redhat4.
This problem would create a core file and a file with 0 size that name start with "d2utmp".
The bug for this problem has been issued in https://bugzilla.redhat.com/show_bug.cgi?id=186490.
So you 'd better to build your package in higher version Redhat OS.
Or commit converted script into cvs so that you do not need to run dos2unix during build progress.