summaryrefslogtreecommitdiffstats
path: root/rpmbuild-remote.py
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-09-10 15:06:11 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-09-10 15:06:11 -0400
commit31b3f4a37c7fefa4f464c4e91c20829915f2b385 (patch)
tree9ea42818cd887aff7d37f12a268f8f7c9e459b4c /rpmbuild-remote.py
parent89f20162b4c2575951f8e0b38b8b46af346a4ca2 (diff)
downloadrpmbuild-remote-31b3f4a37c7fefa4f464c4e91c20829915f2b385.tar.gz
rpmbuild-remote-31b3f4a37c7fefa4f464c4e91c20829915f2b385.tar.xz
rpmbuild-remote-31b3f4a37c7fefa4f464c4e91c20829915f2b385.zip
Use the correct function for srpm builds
Diffstat (limited to 'rpmbuild-remote.py')
-rwxr-xr-xrpmbuild-remote.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmbuild-remote.py b/rpmbuild-remote.py
index b19ef3f..68e8a49 100755
--- a/rpmbuild-remote.py
+++ b/rpmbuild-remote.py
@@ -175,11 +175,11 @@ def execute_jobs(opts, system, jobs):
if opts.mock is None:
LOG.info("Building %s" % file)
cmd = "rpmbuild --rebuild rpmbuild/SRPMS/%s" % file
- fetch = get_mock_results
+ fetch = get_rpmbuild_results
else:
LOG.info("Building %s with mock config %s" % (file, opts.mock))
cmd = "mock -r %s rpmbuild/SRPMS/%s" % (opts.mock, file)
- fetch = get_rpmbuild_results
+ fetch = get_mock_results
else:
dest = "rpmbuild/SPECS/"
send_files(session, [job[0]], dest)