From f12d463d987cd9c4fafa7103f2b0fb77ec7a1015 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Nov 24 2014 04:54:49 +0000 Subject: set the disttag based on the sig branch --- diff --git a/src/centpkg/__init__.py b/src/centpkg/__init__.py index 2d3cbec..c3c1e2f 100644 --- a/src/centpkg/__init__.py +++ b/src/centpkg/__init__.py @@ -57,7 +57,12 @@ class Commands(pyrpkg.Commands): ' %s' % self.branch_merge) self._distval = osver self._distval = self._distval.replace('.', '_') - self._disttag = 'el%s' % self._distval + + if self._is_sigbranch(): + self._disttag = self.branch_merge + else: + self._disttag = 'el%s' % self._distval + self._rpmdefines = ["--define '_topdir {0}'".format(self.path), "--define '_srcrpmdir {0}'".format(self.path), "--define '_rpmdir {0}'".format(self.path),