diff options
author | Pascal Terjan <pterjan@gmail.com> | 2016-03-13 23:41:08 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2016-03-13 23:41:08 +0000 |
commit | 1af1812a1ec07bb6ced426564ef603665b39a0c6 (patch) | |
tree | a725506814cca20ccdbbc188064570782e25c0e3 /lib/Youri/Submit/Action | |
parent | 628f2d26804818324fd4aa1c2393bcc418ac1e76 (diff) | |
download | mga-youri-submit-1af1812a1ec07bb6ced426564ef603665b39a0c6.tar mga-youri-submit-1af1812a1ec07bb6ced426564ef603665b39a0c6.tar.gz mga-youri-submit-1af1812a1ec07bb6ced426564ef603665b39a0c6.tar.bz2 mga-youri-submit-1af1812a1ec07bb6ced426564ef603665b39a0c6.tar.xz mga-youri-submit-1af1812a1ec07bb6ced426564ef603665b39a0c6.zip |
Add ugly hack for lack of dependencies support in the build queue
Diffstat (limited to 'lib/Youri/Submit/Action')
-rw-r--r-- | lib/Youri/Submit/Action/RebuildPackage.pm | 5 |
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; } |