Merge branch 'fix-sig' of ssh://git.centos.org/forks/tdawson/centos/centpkg into fix-sig

This commit is contained in:
Troy Dawson 2022-10-10 15:05:56 -07:00
commit 84078356c2

View file

@ -210,7 +210,9 @@ class Commands(Commands):
'--define', '_rpmdir %s' % self.layout.rpmdir,
'--define', 'dist .%s' % self._disttag,
# int and float this to remove the decimal
'--define', '%s 1' % self._disttag]
'--define', '%s 1' % self._disttag,
# This is so the rhel macro is set for spec files
'--define', 'rhel %s' % self._distval.split('_')[0]]
self.log.debug("RPMDefines: %s" % self._rpmdefines)
def construct_build_url(self, *args, **kwargs):