9423bd
RHEL_MAJOR = 9
9423bd
RHEL_MINOR = 0
9423bd
9423bd
#
9423bd
# RHEL_RELEASE
9423bd
# -------------
9423bd
#
9423bd
# Represents build number in 'release' part of RPM's name-version-release.
9423bd
#   name is <package_name>, e.g. kernel
9423bd
#   version is upstream kernel version this kernel is based on, e.g. 4.18.0
9423bd
#   release is <RHEL_RELEASE>.<dist_tag>[<buildid>], e.g. 100.el8
9423bd
#
9423bd
# Use this spot to avoid future merge conflicts.
9423bd
# Do not trim this comment.
ddec93
RHEL_RELEASE = 21
9423bd
9423bd
#
9423bd
# Early y+1 numbering
9423bd
# --------------------
9423bd
#
9423bd
# In early y+1 process, RHEL_RELEASE consists of 2 numbers: x.y
9423bd
# First is RHEL_RELEASE inherited/merged from y as-is, second number
9423bd
# is incremented with each build starting from 1. After merge from y,
9423bd
# it resets back to 1. This way y+1 nvr reflects status of last merge.
9423bd
#
9423bd
# Example:
9423bd
#
9423bd
# rhel8.0                        rhel-8.1
9423bd
#   kernel-4.18.0-58.el8   -->     kernel-4.18.0-58.1.el8
9423bd
#                                  kernel-4.18.0-58.2.el8
9423bd
#   kernel-4.18.0-59.el8           kernel-4.18.0-59.1.el8
9423bd
#   kernel-4.18.0-60.el8
9423bd
#   kernel-4.18.0-61.el8   -->     kernel-4.18.0-61.1.el8
9423bd
#
9423bd
#
9423bd
# Use this spot to avoid future merge conflicts.
9423bd
# Do not trim this comment.
9423bd
EARLY_YSTREAM ?= no
9423bd
EARLY_YBUILD:=
9423bd
EARLY_YRELEASE:=
9423bd
ifneq ("$(ZSTREAM)", "yes")
9423bd
  ifeq ("$(EARLY_YSTREAM)","yes")
9423bd
    RHEL_RELEASE:=$(RHEL_RELEASE).$(EARLY_YRELEASE)
9423bd
  endif
9423bd
endif