add centos as an id_like

This commit is contained in:
nazunalika 2021-09-09 10:20:38 -07:00
parent 92eab90536
commit 4f8f0db103
Signed by: label
GPG Key ID: 6735C0E1BD65D048

View File

@ -10,7 +10,7 @@
%define distro_code Green Obsidian %define distro_code Green Obsidian
%define major 8 %define major 8
%define minor 4 %define minor 4
%define rocky_rel 32 %define rocky_rel 33
%define upstream_rel %{major}.%{minor} %define upstream_rel %{major}.%{minor}
%define rpm_license BSD-3-Clause %define rpm_license BSD-3-Clause
@ -129,7 +129,7 @@ cat > %{buildroot}%{_prefix}/lib/os-release << EOF
NAME="%{distro_name}" NAME="%{distro_name}"
VERSION="%{major}.%{minor} (%{distro_code})" VERSION="%{major}.%{minor} (%{distro_code})"
ID="rocky" ID="rocky"
ID_LIKE="rhel fedora" ID_LIKE="rhel fedora centos"
VERSION_ID="%{major}.%{minor}" VERSION_ID="%{major}.%{minor}"
PLATFORM_ID="platform:el%{major}" PLATFORM_ID="platform:el%{major}"
PRETTY_NAME="%{distro_name} %{major}.%{minor} (%{distro_code})" PRETTY_NAME="%{distro_name} %{major}.%{minor} (%{distro_code})"
@ -228,6 +228,10 @@ install -p -m 0644 %{SOURCE1226} %{buildroot}%{_sysconfdir}/yum.repos.d/
%{_sysconfdir}/pki/rpm-gpg/ %{_sysconfdir}/pki/rpm-gpg/
%changelog %changelog
* Thu Sep 09 2021 Louis Abel <label@rockylinux.org> - 8.4-33
- Add centos as an id_like to allow current and future SIGs that rely on CentOS
to work properly.
* Wed Jul 07 2021 Louis Abel <label@rockylinux.org> - 8.4-32 * Wed Jul 07 2021 Louis Abel <label@rockylinux.org> - 8.4-32
- Fix URLs for Plus and NFV - Fix URLs for Plus and NFV
- Use a macro for the license across sub packages - Use a macro for the license across sub packages