override only

This commit is contained in:
Louis Abel 2022-08-15 13:34:51 -07:00
parent 5a3d90ce78
commit d45193ab77
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -28,7 +28,7 @@
Name: rocky-release
Version: %{major}.%{minor}
Release: %{rocky_rel}.el8
Release: %{rocky_rel}.el8.override.0.1
Summary: %{distro_name} release files
License: %{rpm_license}
URL: https://rockylinux.org
@ -133,7 +133,7 @@ install -d -m 0755 %{buildroot}%{_prefix}/lib
cat > %{buildroot}%{_prefix}/lib/os-release << EOF
NAME="%{distro_name}"
VERSION="%{major}.%{minor} (%{distro_code})"
ID="rocky"
ID="rhel"
ID_LIKE="rhel centos fedora"
VERSION_ID="%{major}.%{minor}"
PLATFORM_ID="platform:el%{major}"