aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Youri/Submit/Action/RebuildPackage.pm5
1 files 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;
}