dgoodwin/tito — Issue #31: tito build --rpm should offer auto-install for BuildRequires
Author: mccun934
Created: 2011-12-20 21:29:47+00:00
State: open

Turn the below errors into a 'yum install' command would be very very handy

# tito build --rpm --test
Building package [katello-0.1.150-1]
Wrote: /tmp/tito/katello-git-4.188b416.tar.gz

########## ERROR ############
Error running command: LC_ALL=C rpmbuild --define "_source_filedigest_algorithm md5" --define "_binary_filedigest_algorithm md5" --define "_sourcedir /tmp/tito/rpmbuild-katello-188b41664ed516b12c5d5c5068a6c2d2b131b384/SOURCES" --define "_builddir /tmp/tito/rpmbuild-katello-188b41664ed516b12c5d5c5068a6c2d2b131b384/BUILD" --define "_srcrpmdir /tmp/tito" --define "_rpmdir /tmp/tito" --clean -ba /tmp/tito/rpmbuild-katello-188b41664ed516b12c5d5c5068a6c2d2b131b384/SOURCES/katello-git-4.188b416/katello.spec
Status code: 256
Command output: error: Failed build dependencies:
rubygems is needed by katello-0.1.150-1.git.4.188b416.fc15.noarch
rubygem-rake is needed by katello-0.1.150-1.git.4.188b416.fc15.noarch
rubygem(gettext) is needed by katello-0.1.150-1.git.4.188b416.fc15.noarch
rubygem(jammit) is needed by katello-0.1.150-1.git.4.188b416.fc15.noarch
rubygem(chunky_png) is needed by katello-0.1.150-1.git.4.188b416.fc15.noarch
rubygem(fssm) >= 0.2.7 is needed by katello-0.1.150-1.git.4.188b416.fc15.noarch
rubygem(compass) >= 0.11.5 is needed by katello-0.1.150-1.git.4.188b416.fc15.noarch
rubygem(compass-960-plugin) >= 0.10.4 is needed by katello-0.1.150-1.git.4.188b416.fc15.noarch