The "-d" option to diff is not supported on solaris, so the check-files script fails. In the GNU diff man page it lists "-d" as: -d Change the algorithm to perhaps find a smaller set of changes. This makes diff slower (sometimes much slower). removing the "-d" option should be an appropriate fix.
Created attachment 102904 [details] Fix and optimization to check-files This is a patch talked about with arekm on IRC. This fixes the problem and optimizes the behavior slightly.
Fixed in cvs, should be in rpm-4.4.5-0.14 when built.