aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Iurt')
-rw-r--r--lib/Iurt/Urpmi.pm8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm
index aec4f87..2343ee8 100644
--- a/lib/Iurt/Urpmi.pm
+++ b/lib/Iurt/Urpmi.pm
@@ -555,7 +555,7 @@ sub recreate_srpm {
# return ("exit_code", srpm, spec)
sub install_dynamic_buildrequires {
- my ($self, $run, $config, $chroot_tmp, $dir, $luser, $spec, $srpm) = @_;
+ my ($self, $run, $config, $chroot_tmp, $luser, $spec, $srpm) = @_;
my $program_name = $run->{program_name};
my $with_flags = $run->{with_flags};
@@ -587,11 +587,7 @@ sub install_dynamic_buildrequires {
my $ret = perform_command(qq(chroot $chroot_tmp su $luser -c "rpmbuild -br $with_flags /home/$luser/rpmbuild/SPECS/$spec"),
$run, $config,
use_iurt_root_command => 1,
- mail => $config->{admin},
- error => "[DYNAMIC BUILDREQUIRES] cannot create $srpm in $chroot_tmp",
- debug_mail => $run->{debug},
- hash => "generatebuildrequires_$srpm",
- error_ok => [11]
+ hash => "generatebuildrequires_$srpm"
);
return 1 if $ret;