Blame SOURCES/Makefile.rhelver

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