aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
authorGustavo De Nardin <spuk@mandriva.org>2008-01-23 23:40:10 +0000
committerGustavo De Nardin <spuk@mandriva.org>2008-01-23 23:40:10 +0000
commitf942d5d58230985e54ea43f4bb85a4a8cbb88ee0 (patch)
tree4eeb191398c57be13e6a242d1939fc95d6a6ba77 /iurt2
parentf23d8f52d62fbfb58a04f33ea92dd48d50e4a6fb (diff)
downloadiurt-f942d5d58230985e54ea43f4bb85a4a8cbb88ee0.tar
iurt-f942d5d58230985e54ea43f4bb85a4a8cbb88ee0.tar.gz
iurt-f942d5d58230985e54ea43f4bb85a4a8cbb88ee0.tar.bz2
iurt-f942d5d58230985e54ea43f4bb85a4a8cbb88ee0.tar.xz
iurt-f942d5d58230985e54ea43f4bb85a4a8cbb88ee0.zip
- more rpmbuild instead if rpm -b
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt26
1 files changed, 3 insertions, 3 deletions
diff --git a/iurt2 b/iurt2
index 40adf2d..870f28f 100755
--- a/iurt2
+++ b/iurt2
@@ -255,7 +255,7 @@ $run{todo} = [];
($run{shell}) = 1;
1 }, "Setting option to dump to a shell" ],
[ "", "stop", 1, "<rpm step>",
- "Perform rpm -b<rpm step> (p c i l b a s) instead of rpm -ba and then open a shell in the chroot",
+ "Perform rpmbuild -b<rpm step> (p c i l b a s) instead of rpmbuild -ba and then open a shell in the chroot",
sub {
($run{stop}) = @_;
1;
@@ -898,11 +898,11 @@ retry:
debug_mail => $run{debug},
log => $log_dir); # or next; As this failed quite often, do not stop
plog('NOTIFY', "Building $srpm");
- my $command = "rpm --rebuild $run{with_flags} /home/$luser/rpm/SRPMS/$srpm";
+ my $command = "rpmbuild --rebuild $run{with_flags} /home/$luser/rpm/SRPMS/$srpm";
if ($run{stop}) {
$urpmi->install_packages('chroot', $chroot_tmp, $local_spool, \%pack_provide, 'configure', "[ADMIN] installation of urpmi and sudo failed in the chroot $run{my_arch}", { check => 1, maintainer => $config->{admin} }, 'urpmi', 'sudo');
add_sudoers(\%run, $chroot_tmp, $luser);
- $command = "rpm -b$run{stop} /home/$luser/rpm/SPECS/$spec";
+ $command = "rpmbuild -b$run{stop} /home/$luser/rpm/SPECS/$spec";
}
my ($srpm_name) = $srpm =~ /(?:.*:)?(.*)-[^-]+-[^-]+\.src\.rpm$/;