use support end macro

This commit is contained in:
Louis Abel 2023-11-20 18:50:04 -07:00
parent e6ac61142c
commit dbe9a3e2ff
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -34,13 +34,14 @@
%define rlosid rocky %define rlosid rocky
%define os_bug_name Rocky-Linux-%{major} %define os_bug_name Rocky-Linux-%{major}
%define support_end 2032-05-31
################################################################################ ################################################################################
# Rocky LookAhead Section # Rocky LookAhead Section
# #
# Reset defines for LookAhead variant. Default is stable if 0 or undefined. # Reset defines for LookAhead variant. Default is stable if 0 or undefined.
%if %{with rllookahead} %if %{with rllookahead}
%define minor 3 %define minor 4
%define contentdir pub/rocky-lh %define contentdir pub/rocky-lh
%define rltype -lookahead %define rltype -lookahead
%define rlstatement LookAhead %define rlstatement LookAhead
@ -249,7 +250,7 @@ LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:%{major}::baseos" CPE_NAME="cpe:/o:rocky:rocky:%{major}::baseos"
HOME_URL="%{home_url}" HOME_URL="%{home_url}"
BUG_REPORT_URL="%{bug_url}" BUG_REPORT_URL="%{bug_url}"
SUPPORT_END="2032-05-31" SUPPORT_END="%{support_end}"
ROCKY_SUPPORT_PRODUCT="%{os_bug_name}" ROCKY_SUPPORT_PRODUCT="%{os_bug_name}"
ROCKY_SUPPORT_PRODUCT_VERSION="%{full_release_version}%{?rlstatement:-%{rlstatement}}" ROCKY_SUPPORT_PRODUCT_VERSION="%{full_release_version}%{?rlstatement:-%{rlstatement}}"
REDHAT_SUPPORT_PRODUCT="%{distro_name}" REDHAT_SUPPORT_PRODUCT="%{distro_name}"