Set ID to rhel

This commit is contained in:
eabdullin 2024-08-14 17:38:21 +03:00
parent 5dc718541c
commit 34520bc21b

View File

@ -8,13 +8,13 @@
%global minor 0 %global minor 0
# %%global eol_date 2035-06-01 # %%global eol_date 2035-06-01
Epoch: 1
Name: almalinux-release Name: almalinux-release
Version: %{major}.%{minor} Version: %{major}.%{minor}
Release: 0.17.1%{?dist} Release: 0.17.1%{?dist}
Summary: %{distro} release files Summary: %{distro} release files
License: GPL-2.0-or-later License: GPL-2.0-or-later
URL: https://almalinux.org URL: https://almalinux.org
Provides: centos-release = %{version}-%{release} Provides: centos-release = %{version}-%{release}
# When running a compose for ELN, we want to make sure that we pull in the # When running a compose for ELN, we want to make sure that we pull in the
@ -140,8 +140,8 @@ install -d -m 0755 %{buildroot}%{_prefix}/lib
cat > %{buildroot}%{_prefix}/lib/os-release << EOF cat > %{buildroot}%{_prefix}/lib/os-release << EOF
NAME="%{dist_name}" NAME="%{dist_name}"
VERSION="%{major}" VERSION="%{major}"
ID="almalinux" ID="rhel"
ID_LIKE="rhel centos fedora" ID_LIKE="fedora"
VERSION_ID="%{major}" VERSION_ID="%{major}"
PLATFORM_ID="platform:el%{major}" PLATFORM_ID="platform:el%{major}"
PRETTY_NAME="%{distro} %{major}" PRETTY_NAME="%{distro} %{major}"