l30013671 / rpms / kernel

Forked from rpms/kernel 2 years ago
Clone
Justin Vreeland 794355
RHEL_MAJOR = 9
Justin Vreeland 794355
RHEL_MINOR = 0
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.
a1ad7b
RHEL_RELEASE = 70
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
ce46cc
# Hyperscale build suffix
2ded7d
HSBUILD = .hs1