Description of Problem: rpm --rebuild ghostscript-7.05-7.src.rpm Installing ghostscript-7.05-7.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.96798 + umask 022 ......... ........... ........... + echo 'Patch #21 (Omni-7.05-051402-patch.clean):' Patch #21 (Omni-7.05-051402-patch.clean): + patch -p0 -b --suffix .Omni.051402 -s + cp /usr/src/redhat/SOURCES/gomni.c src/gomni.c + echo 'Patch #24 (ghostscript-7.05-scripts.patch):' Patch #24 (ghostscript-7.05-scripts.patch): + patch -p1 -b --suffix .scripts -s 1 out of 1 hunk FAILED -- saving rejects to file lib/pv.sh.rej error: Bad exit status from /var/tmp/rpm-tmp.96798 (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.96798 (%prep) Version-Release number of selected component (if applicable): How Reproducible: Steps to Reproduce: 1. 2. 3. Actual Results: Expected Results: Additional Information:
Installed new patch and patchutils. Now it works.