From b2fa9c8271b752a5e243f40479039da0318d3548 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Thu, 19 Jan 2023 20:16:19 +0000 Subject: iurt: Add support for DynamicBuildRequires See https://fedoraproject.org/wiki/Changes/DynamicBuildRequires --- iurt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'iurt') diff --git a/iurt b/iurt index 2489d03..c797848 100755 --- a/iurt +++ b/iurt @@ -795,6 +795,12 @@ retry: return $srpm; } + $ok = $urpmi->install_dynamic_buildrequires(\%run, $config, $chroot_tmp, '', $luser, $spec, $srpm); + if (!$ok) { + $run{status}{$srpm} ||= 'install_deps_failure'; + return $srpm; + } + perform_command("rpm --root $chroot_tmp -qa | sort", \%run, $config, logname => "rpm_qa", -- cgit v1.2.1