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