Add more compatibility variables to /etc/os-release

This commit is contained in:
Andrew Lukoshko 2022-06-22 12:20:40 +02:00
parent f1853808ba
commit 1ca9c8932b
1 changed files with 7 additions and 2 deletions

View File

@ -8,7 +8,7 @@
%define dist_release_version 8
%define upstream_rel_long 8.6-0.1
%define upstream_rel 8.6
%define almalinux_rel 1
%define almalinux_rel 2
%define dist .el%{dist_release_version}
# The anaconda scripts in %%{_libexecdir} can create false requirements
@ -86,6 +86,7 @@ VERSION_ID="%{full_release_version}"
PLATFORM_ID="platform:el%{base_release_version}"
PRETTY_NAME="%{product_family} %{full_release_version}%{?beta: %{beta}} (%{release_name})"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:%{base_release_version}::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
@ -93,7 +94,8 @@ BUG_REPORT_URL="https://bugs.almalinux.org/"
ALMALINUX_MANTISBT_PROJECT="AlmaLinux-%{base_release_version}"
ALMALINUX_MANTISBT_PROJECT_VERSION="%{full_release_version}"
REDHAT_SUPPORT_PRODUCT="%{product_family}"
REDHAT_SUPPORT_PRODUCT_VERSION="%{full_release_version}%{?beta: %{beta}}"
EOF
# Create the symlink for /etc/os-release
@ -196,6 +198,9 @@ rm -rf %{buildroot}
%{_prefix}/lib/systemd/system-preset/*
%changelog
* Wed Jun 22 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 8.6-2
- Add more compatibility variables to /etc/os-release
* Thu May 19 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 8.6-1
- Bump release