fix os-release

This commit is contained in:
nazunalika 2022-03-29 14:04:01 -07:00
parent b4df823055
commit 42d36c73a2
Signed by: label
GPG Key ID: 6735C0E1BD65D048

View File

@ -16,7 +16,7 @@
%define distro_code Blue Onyx
%define major 9
%define minor 0
%define rocky_rel 1%{?rllh:.%{rllh}}%{!?rllh:.6}
%define rocky_rel 1%{?rllh:.%{rllh}}%{!?rllh:.7}
%define rpm_license BSD-3-Clause
%define dist .el%{major}
@ -231,6 +231,8 @@ HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="%{distro_name}"
ROCKY_SUPPORT_PRODUCT_VERSION="%{major}%{?rlstatement:-%{rlstatement}}"
REDHAT_SUPPORT_PRODUCT="%{distro_name}"
REDHAT_SUPPORT_PRODUCT_VERSION="%{full_release_version}%{?rlstatement: %{rlstatement}}"
EOF
# Create the symlink for /etc/os-release
@ -404,12 +406,13 @@ install -m 0644 %{SOURCE404} %{buildroot}/%{_prefix}/lib/sysctl.d/50-redhat.conf
%{_datadir}/pki/sb-certs/*.crt
%changelog
* Tue Feb 08 2022 Louis Abel <label@rockylinux.org> - 9.0-1.6
* Tue Feb 08 2022 Louis Abel <label@rockylinux.org> - 9.0-1.7
- Backport current SB certs for now
- Add logrotate timer and switcheroo
- Add missing macros
- Fix CPE values
- Remove /etc/centos-release
- Add redhat tags to os-release
* Mon Jan 10 2022 Louis Abel <label@rockylinux.org> - 9.0-1.1
- Add LOGO to /etc/os-release