mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 08:12:55 +00:00
set the disttag based on the sig branch
This commit is contained in:
parent
3d42683a55
commit
f12d463d98
1 changed files with 6 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Reference in a new issue