mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 16:22:55 +00:00
added rhel macro to the rpmdefines
This commit is contained in:
parent
73d52905ad
commit
179163f729
1 changed files with 3 additions and 1 deletions
|
@ -196,7 +196,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):
|
||||
|
|
Loading…
Add table
Reference in a new issue