forked from rpms/almalinux-release
Set ID to rhel
This commit is contained in:
parent
c40f1789c3
commit
d9c3484ac6
@ -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})"
|
||||
|
Loading…
Reference in New Issue
Block a user