From 31b3f4a37c7fefa4f464c4e91c20829915f2b385 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 10 Sep 2009 15:06:11 -0400 Subject: Use the correct function for srpm builds --- rpmbuild-remote.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpmbuild-remote.py') 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) -- cgit