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
|
License: GPLv2
|
||||||
URL: https://almalinux.org
|
URL: https://almalinux.org
|
||||||
# BuildArch: noarch
|
# BuildArch: noarch
|
||||||
|
Epoch: 1
|
||||||
Provides: centos-release = %{version}-%{release}
|
Provides: centos-release = %{version}-%{release}
|
||||||
|
|
||||||
# Required for a lorax run (to generate install media)
|
# 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
|
cat > %{buildroot}%{_prefix}/lib/os-release << EOF
|
||||||
NAME="%{distro}"
|
NAME="%{distro}"
|
||||||
VERSION="%{major}.%{minor}%{?beta: %{beta}} (%{release_name})"
|
VERSION="%{major}.%{minor}%{?beta: %{beta}} (%{release_name})"
|
||||||
ID="almalinux"
|
ID="rhel"
|
||||||
ID_LIKE="rhel centos fedora"
|
ID_LIKE="fedora"
|
||||||
VERSION_ID="%{major}.%{minor}"
|
VERSION_ID="%{major}.%{minor}"
|
||||||
PLATFORM_ID="platform:el%{major}"
|
PLATFORM_ID="platform:el%{major}"
|
||||||
PRETTY_NAME="%{distro} %{major}.%{minor}%{?beta: %{beta}} (%{release_name})"
|
PRETTY_NAME="%{distro} %{major}.%{minor}%{?beta: %{beta}} (%{release_name})"
|
||||||
|
Loading…
Reference in New Issue
Block a user