Set ID to rhel

This commit is contained in:
Andrew Lukoshko 2022-05-10 20:32:28 +02:00
parent 97200e3ff6
commit 8f66b7226c

View File

@ -80,8 +80,8 @@ ln -s almalinux-release %{buildroot}/etc/centos-release
cat << EOF >>%{buildroot}%{_prefix}/lib/os-release cat << EOF >>%{buildroot}%{_prefix}/lib/os-release
NAME="%{product_family}" NAME="%{product_family}"
VERSION="%{full_release_version} (%{release_name})" VERSION="%{full_release_version} (%{release_name})"
ID="almalinux" ID="rhel"
ID_LIKE="rhel centos fedora" ID_LIKE="fedora"
VERSION_ID="%{full_release_version}" VERSION_ID="%{full_release_version}"
PLATFORM_ID="platform:el%{base_release_version}" PLATFORM_ID="platform:el%{base_release_version}"
PRETTY_NAME="%{product_family} %{full_release_version}%{?beta: %{beta}} (%{release_name})" PRETTY_NAME="%{product_family} %{full_release_version}%{?beta: %{beta}} (%{release_name})"