From d92652d214661e0365db274c10f0ea2fcf384bdd Mon Sep 17 00:00:00 2001 From: nazunalika Date: Mon, 3 May 2021 02:57:38 -0700 Subject: [PATCH] update os-release --- SPECS/rocky-release.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/SPECS/rocky-release.spec b/SPECS/rocky-release.spec index 0710373..2a972cb 100644 --- a/SPECS/rocky-release.spec +++ b/SPECS/rocky-release.spec @@ -9,7 +9,7 @@ %define distro Rocky Linux %define major 8 %define minor 3 -%define rocky_rel 12 +%define rocky_rel 13 %define upstream_rel %{major}.%{minor} %define base_release_version %{major} @@ -125,12 +125,12 @@ ln -s rocky-release %{buildroot}%{_sysconfdir}/redhat-release install -d -m 0755 %{buildroot}%{_prefix}/lib cat > %{buildroot}%{_prefix}/lib/os-release << EOF NAME="%{distro}" -VERSION="%{major}" +VERSION="%{major}.%{minor}" ID="rocky" ID_LIKE="rhel fedora" -VERSION_ID="%{major}" +VERSION_ID="%{major}.%{minor}" PLATFORM_ID="platform:el%{major}" -PRETTY_NAME="%{distro} %{major}" +PRETTY_NAME="%{distro} %{major}.%{minor}" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:rocky:rocky:%{major}" HOME_URL="https://rockylinux.org/" @@ -229,6 +229,10 @@ install -p -m 0644 %{SOURCE1223} %{buildroot}%{_sysconfdir}/yum.repos.d/ %{_sysconfdir}/pki/rpm-gpg/ %changelog +* Mon May 03 2021 Louis Abel - 8.3-13 +- Add minor version to /etc/os-release to resolve issues + with products that provide the "full version" + * Sat May 01 2021 Louis Abel - 8.3-12 - Add resilient storage varient - Fix vars