mirror of
https://git.rockylinux.org/staging/src/rocky-release.git
synced 2024-11-21 21:51:24 +00:00
update os-release
This commit is contained in:
parent
dcad83336c
commit
d92652d214
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user