Blame SOURCES/Makefile.rhelver

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