Fix VERSION in os-release

This commit is contained in:
Andrew Lukoshko 2023-04-26 18:54:52 +00:00
parent 62399ffa18
commit 784e8fd67f

View File

@ -128,7 +128,7 @@ ln -s almalinux-release %{buildroot}%{_sysconfdir}/redhat-release
install -d -m 0755 %{buildroot}%{_prefix}/lib
cat > %{buildroot}%{_prefix}/lib/os-release << EOF
NAME="%{distro}"
VERSION="%{major}.%{minor}%{?beta: %{beta}} (%{release_name})"
VERSION="%{major}.%{minor} (%{release_name})"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="%{major}.%{minor}"