From 1af1812a1ec07bb6ced426564ef603665b39a0c6 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sun, 13 Mar 2016 23:41:08 +0000 Subject: Add ugly hack for lack of dependencies support in the build queue --- lib/Youri/Submit/Action/RebuildPackage.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Youri/Submit/Action/RebuildPackage.pm b/lib/Youri/Submit/Action/RebuildPackage.pm index 4181676..aed4053 100644 --- a/lib/Youri/Submit/Action/RebuildPackage.pm +++ b/lib/Youri/Submit/Action/RebuildPackage.pm @@ -51,10 +51,11 @@ sub run { chdir 'current'; $updater->update_from_spec(glob('SPECS/*.spec')); system('svn', 'ci', '-m', "Rebuild for new $srpm_name"); - if ($prefix) { + # Ugly but we don't have complete dependecy support yet :( + if ($prefix && 0) { system("mgarepo submit --define dependencies=$prefix &"); } else { - system("mgarepo submit &"); + system("(sleep 600; mgarepo submit)&"); } chdir $oldcwd; } -- cgit v1.2.1