From 1ca9c8932b166d8c989d8a5ed8123c80be3b8dbf Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Wed, 22 Jun 2022 12:20:40 +0200 Subject: [PATCH] Add more compatibility variables to /etc/os-release --- almalinux-release.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/almalinux-release.spec b/almalinux-release.spec index 1a12239..1d433f0 100644 --- a/almalinux-release.spec +++ b/almalinux-release.spec @@ -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 - 8.6-2 +- Add more compatibility variables to /etc/os-release + * Thu May 19 2022 Andrew Lukoshko - 8.6-1 - Bump release