update os-release

This commit is contained in:
nazunalika 2021-05-03 02:57:38 -07:00
parent dcad83336c
commit d92652d214
Signed by: label
GPG Key ID: 6735C0E1BD65D048

View File

@ -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 <label@rockylinux.org> - 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 <label@rockylinux.org> - 8.3-12
- Add resilient storage varient
- Fix vars