From 0ced564cc209d4cedd55c3a988f63771a59727f0 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Mon, 12 May 2008 12:52:51 +0200 Subject: [PATCH] pass some information to the "make srpm" task --- builder/kojid | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/builder/kojid b/builder/kojid index 197ccb5..83d3160 100755 --- a/builder/kojid +++ b/builder/kojid @@ -1828,7 +1828,8 @@ class BuildSRPMFromSCMTask(BaseTaskHandler): self.spec_sanity_checks(spec_file) #build srpm - cmd = ['make', 'srpm'] + cmd = ['make', 'srpm', '_KOJI=1.2.5', '_KOJI_TAG=%s' % scm.revision] + self.logger.debug("executing: %s" % cmd) if log_output(cmd[0], cmd, logfile, uploadpath, cwd=sourcedir, logerror=1, append=1): raise koji.BuildError, "Error building SRPM" -- 1.5.5.1