diff options
author | Gustavo De Nardin <spuk@mandriva.org> | 2008-01-23 23:24:57 +0000 |
---|---|---|
committer | Gustavo De Nardin <spuk@mandriva.org> | 2008-01-23 23:24:57 +0000 |
commit | f23d8f52d62fbfb58a04f33ea92dd48d50e4a6fb (patch) | |
tree | c389394120943c8116f1b4985be27664fcc98f12 | |
parent | 49db717cb6b010bfa1749eaf9cf1cdcffb2c6588 (diff) | |
download | iurt-f23d8f52d62fbfb58a04f33ea92dd48d50e4a6fb.tar iurt-f23d8f52d62fbfb58a04f33ea92dd48d50e4a6fb.tar.gz iurt-f23d8f52d62fbfb58a04f33ea92dd48d50e4a6fb.tar.bz2 iurt-f23d8f52d62fbfb58a04f33ea92dd48d50e4a6fb.tar.xz iurt-f23d8f52d62fbfb58a04f33ea92dd48d50e4a6fb.zip |
- 'rpm -b' has been deprrecated for 'rpmbuild' (for a long time?)
-rw-r--r-- | lib/Iurt/Urpmi.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm index cc31c63..6e3eb8b 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -653,7 +653,7 @@ sub recreate_srpm { } # 20060515 This should not be necessairy any more if urpmi *.spec works, but it doesn't # - my $ret = perform_command(qq(sudo chroot $chroot_tmp su $luser -c "rpm --nodeps -bs $with_flags /home/$luser/rpm/SPECS/$spec"), + my $ret = perform_command(qq(sudo chroot $chroot_tmp su $luser -c "rpmbuild --nodeps -bs $with_flags /home/$luser/rpm/SPECS/$spec"), $run, $config, $cache, mail => $config->{admin}, error => "[REBUILD] cannot create $srpm in $chroot_tmp", |