Set ID to rhel

This commit is contained in:
eabdullin 2022-05-18 17:03:11 +03:00
parent c40f1789c3
commit d9c3484ac6
1 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ Summary: %{distro} release files
License: GPLv2
URL: https://almalinux.org
# BuildArch: noarch
Epoch: 1
Provides: centos-release = %{version}-%{release}
# Required for a lorax run (to generate install media)
@ -98,8 +98,8 @@ install -d -m 0755 %{buildroot}%{_prefix}/lib
cat > %{buildroot}%{_prefix}/lib/os-release << EOF
NAME="%{distro}"
VERSION="%{major}.%{minor}%{?beta: %{beta}} (%{release_name})"
ID="almalinux"
ID_LIKE="rhel centos fedora"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="%{major}.%{minor}"
PLATFORM_ID="platform:el%{major}"
PRETTY_NAME="%{distro} %{major}.%{minor}%{?beta: %{beta}} (%{release_name})"