diff options
Diffstat (limited to 'uiurt')
-rwxr-xr-x | uiurt | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; @@ -851,11 +851,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$/; |