D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ruby-text-format-1.0.0-13.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DGXG3W + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf text-format-1.0.0 + /usr/bin/gem unpack /home/pterjan/rpmbuild/SOURCES/text-format-1.0.0.gem Unpacked gem: '/home/pterjan/rpmbuild/BUILD/text-format-1.0.0' + /usr/bin/gem spec /home/pterjan/rpmbuild/SOURCES/text-format-1.0.0.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd text-format-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd .. + echo 'Patch #0 (text-format-1.0.0-dependency.patch):' Patch #0 (text-format-1.0.0-dependency.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file text-format-1.0.0.gemspec Hunk #1 FAILED at 25. 1 out of 1 hunk FAILED -- saving rejects to file text-format-1.0.0.gemspec.rej error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.DGXG3W (%prep) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.DGXG3W (%prep) I: [iurt_root_command] ERROR: chroot