diff options
author | Jani Välimaa <wally@mageia.org> | 2024-12-22 14:56:41 +0200 |
---|---|---|
committer | Jani Välimaa <wally@mageia.org> | 2024-12-22 14:56:41 +0200 |
commit | 0b87d64a78937d1df4ca4a00c0e7726126aefb01 (patch) | |
tree | 49359ceb4fe17513888158e83cdc9556f6611ab7 /lib/Iurt | |
parent | 066bc31b8884cdfcd32266621f7ede174cb1f502 (diff) | |
download | iurt-0b87d64a78937d1df4ca4a00c0e7726126aefb01.tar iurt-0b87d64a78937d1df4ca4a00c0e7726126aefb01.tar.gz iurt-0b87d64a78937d1df4ca4a00c0e7726126aefb01.tar.bz2 iurt-0b87d64a78937d1df4ca4a00c0e7726126aefb01.tar.xz iurt-0b87d64a78937d1df4ca4a00c0e7726126aefb01.zip |
iurt: recreate .src.rpm using --target <arch> to fix installing BRs using %{?_isa} macro on armv7hl
Diffstat (limited to 'lib/Iurt')
-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 6a4c172..aa14c57 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -548,7 +548,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(chroot $chroot_tmp su $luser -c "rpmbuild --nodeps -bs $with_flags /home/$luser/rpmbuild/SPECS/$spec"), + my $ret = perform_command(qq(chroot $chroot_tmp su $luser -c "rpmbuild --target $run->{my_arch} --nodeps -bs $with_flags /home/$luser/rpmbuild/SPECS/$spec"), $run, $config, use_iurt_root_command => 1, mail => $config->{admin}, |