From 34520bc21b0864f5150f86efe99bc8abcb17feae Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 14 Aug 2024 17:38:21 +0300 Subject: [PATCH] Set ID to rhel --- SPECS/almalinux-release.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SPECS/almalinux-release.spec b/SPECS/almalinux-release.spec index c5341bf..375cf8a 100644 --- a/SPECS/almalinux-release.spec +++ b/SPECS/almalinux-release.spec @@ -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}"