aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-02-25 16:18:11 +0000
committerThierry Vignaud <tv@mageia.org>2012-02-25 16:18:11 +0000
commit335ee29d7c8c5ee3521bb87c29558b99086dde66 (patch)
tree9e3ec51b8c2883927ce818155f350de00495b9c6
parent443c575b213f2810b7db83f973bad74f5709322e (diff)
downloadiurt-335ee29d7c8c5ee3521bb87c29558b99086dde66.tar
iurt-335ee29d7c8c5ee3521bb87c29558b99086dde66.tar.gz
iurt-335ee29d7c8c5ee3521bb87c29558b99086dde66.tar.bz2
iurt-335ee29d7c8c5ee3521bb87c29558b99086dde66.tar.xz
iurt-335ee29d7c8c5ee3521bb87c29558b99086dde66.zip
(install_packages) explicitely use --buildrequires (kill a warning in BS logs)
-rw-r--r--lib/Iurt/Urpmi.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm
index a0c16cc..e6ae935 100644
--- a/lib/Iurt/Urpmi.pm
+++ b/lib/Iurt/Urpmi.pm
@@ -465,7 +465,7 @@ sub install_packages {
plog('INFO', "install dependencies using urpmi");
if (!perform_command(
- join(' ', $self->{urpmi_command}, @to_install),
+ join(' ', $self->{urpmi_command}, '--buildrequires', @to_install),
$run, $config, $cache,
use_iurt_root_command => $self->{use_iurt_root_command},
error => $error,