55df632
RHEL_MAJOR = 9
67f313c
RHEL_MINOR = 99
67f313c
67f313c
#
67f313c
# RHEL_RELEASE
67f313c
# -------------
67f313c
#
67f313c
# Represents build number in 'release' part of RPM's name-version-release.
67f313c
#   name is <package_name>, e.g. kernel
67f313c
#   version is upstream kernel version this kernel is based on, e.g. 4.18.0
67f313c
#   release is <RHEL_RELEASE>.<dist_tag>[<buildid>], e.g. 100.el8
67f313c
#
67f313c
# Use this spot to avoid future merge conflicts.
67f313c
# Do not trim this comment.
9beb4ac
RHEL_RELEASE = 43
9c5b661
9c5b661
#
9c5b661
# ZSTREAM
9c5b661
# -------
9c5b661
#
9c5b661
#  This variable controls whether we use zstream numbering or not for the
9c5b661
#  package release. The zstream release keeps the build number of the last
9c5b661
#  build done for ystream for the Beta milestone, and increments a second
9c5b661
#  number for each build. The third number is used for branched builds
9c5b661
#  (eg.: for builds with security fixes or hot fixes done outside of the
9c5b661
#  batch release process).
9c5b661
#
9c5b661
#  For example, with ZSTREAM unset or set to "no", all builds will contain
9c5b661
#  a release with only the build number, eg.: kernel-<kernel version>-X.el*,
9c5b661
#  where X is the build number. With ZSTREAM set to "yes", we will have
9c5b661
#  builds with kernel-<kernel version>-X.Y.Z.el*, where X is the last
9c5b661
#  RHEL_RELEASE number before ZSTREAM flag was set to yes, Y will now be the
9c5b661
#  build number and Z will always be 1 except if you're doing a branched build
9c5b661
#  (when you give RHDISTGIT_BRANCH on the command line, in which case the Z
9c5b661
#  number will be incremented instead of the Y).
9c5b661
#
9c5b661
ZSTREAM ?= no
67f313c
67f313c
#
67f313c
# Early y+1 numbering
67f313c
# --------------------
67f313c
#
67f313c
# In early y+1 process, RHEL_RELEASE consists of 2 numbers: x.y
67f313c
# First is RHEL_RELEASE inherited/merged from y as-is, second number
67f313c
# is incremented with each build starting from 1. After merge from y,
67f313c
# it resets back to 1. This way y+1 nvr reflects status of last merge.
67f313c
#
67f313c
# Example:
67f313c
#
67f313c
# rhel8.0                        rhel-8.1
67f313c
#   kernel-4.18.0-58.el8   -->     kernel-4.18.0-58.1.el8
67f313c
#                                  kernel-4.18.0-58.2.el8
67f313c
#   kernel-4.18.0-59.el8           kernel-4.18.0-59.1.el8
67f313c
#   kernel-4.18.0-60.el8
67f313c
#   kernel-4.18.0-61.el8   -->     kernel-4.18.0-61.1.el8
67f313c
#
67f313c
#
67f313c
# Use this spot to avoid future merge conflicts.
67f313c
# Do not trim this comment.
67f313c
EARLY_YSTREAM ?= no
67f313c
EARLY_YBUILD:=
67f313c
EARLY_YRELEASE:=
67f313c
ifneq ("$(ZSTREAM)", "yes")
67f313c
  ifeq ("$(EARLY_YSTREAM)","yes")
67f313c
    RHEL_RELEASE:=$(RHEL_RELEASE).$(EARLY_YRELEASE)
67f313c
  endif
67f313c
endif