Set ID to rhel
This commit is contained in:
parent
5dc718541c
commit
34520bc21b
@ -8,13 +8,13 @@
|
||||
%global minor 0
|
||||
# %%global eol_date 2035-06-01
|
||||
|
||||
Epoch: 1
|
||||
Name: almalinux-release
|
||||
Version: %{major}.%{minor}
|
||||
Release: 0.17.1%{?dist}
|
||||
Summary: %{distro} release files
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://almalinux.org
|
||||
|
||||
Provides: centos-release = %{version}-%{release}
|
||||
|
||||
# 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
|
||||
NAME="%{dist_name}"
|
||||
VERSION="%{major}"
|
||||
ID="almalinux"
|
||||
ID_LIKE="rhel centos fedora"
|
||||
ID="rhel"
|
||||
ID_LIKE="fedora"
|
||||
VERSION_ID="%{major}"
|
||||
PLATFORM_ID="platform:el%{major}"
|
||||
PRETTY_NAME="%{distro} %{major}"
|
||||
|
Loading…
Reference in New Issue
Block a user