Blame SOURCES/Makefile.rhelver

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