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