aboutsummaryrefslogtreecommitdiffstats
path: root/uiurt
diff options
context:
space:
mode:
authorGustavo De Nardin <spuk@mandriva.org>2008-01-23 23:53:57 +0000
committerGustavo De Nardin <spuk@mandriva.org>2008-01-23 23:53:57 +0000
commitab3d61ee4144f7cbf78fc3a193c7c4b8dc106c81 (patch)
tree80519f9cb38d66f5a103ef827b4c388d91096edc /uiurt
parentf942d5d58230985e54ea43f4bb85a4a8cbb88ee0 (diff)
downloadiurt-ab3d61ee4144f7cbf78fc3a193c7c4b8dc106c81.tar
iurt-ab3d61ee4144f7cbf78fc3a193c7c4b8dc106c81.tar.gz
iurt-ab3d61ee4144f7cbf78fc3a193c7c4b8dc106c81.tar.bz2
iurt-ab3d61ee4144f7cbf78fc3a193c7c4b8dc106c81.tar.xz
iurt-ab3d61ee4144f7cbf78fc3a193c7c4b8dc106c81.zip
- more rpmbuild replacement
Diffstat (limited to 'uiurt')
-rwxr-xr-xuiurt6
1 files changed, 3 insertions, 3 deletions
diff --git a/uiurt b/uiurt
index c9d6f87..29d552e 100755
--- a/uiurt
+++ b/uiurt
@@ -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$/;