The install stage for rpmbuild fails at check-buildroot
|Assignee:||Dong Ma||% Done:||
The install stage for rpmbuild fails at check-buildroot because the file $RPM_BUILD_ROOT/usr/bin/departition contains the the path $RPM_BUILD_ROOT in it. This was on Scientific Linux 6.1 (i.e. RHEL 6.1). I added the line:
sed -i "s,$RPM_BUILD_ROOT,,g" $RPM_BUILD_ROOT/usr/bin/departition
to the end of the %install section to do a quick resolution of this issue.