add missing macros

This commit is contained in:
nazunalika 2021-09-13 16:05:19 -07:00
parent 451c5d3522
commit cb4020ac7d
Signed by: label
GPG Key ID: 6735C0E1BD65D048
1 changed files with 6 additions and 2 deletions

View File

@ -10,7 +10,7 @@
%define distro_code Green Obsidian
%define major 8
%define minor 4
%define rocky_rel 34
%define rocky_rel 35
%define upstream_rel %{major}.%{minor}
%define rpm_license BSD-3-Clause
@ -164,6 +164,8 @@ cat > %{buildroot}%{_sysconfdir}/rpm/macros.dist << EOF
%%rocky_ver %{major}
%%rocky %{major}
%%centos_ver %{major}
%%centos %{major}
%%rhel %{major}
%%dist .el%{major}
%%el%{major} 1
@ -233,8 +235,10 @@ install -p -m 0644 %{SOURCE1226} %{buildroot}%{_sysconfdir}/yum.repos.d/
%{_sysconfdir}/pki/rpm-gpg/
%changelog
* Mon Sep 13 2021 Louis Abel <label@rockylinux.org> - 8.4-34
* Mon Sep 13 2021 Louis Abel <label@rockylinux.org> - 8.4-35
- Add missing CentOS provides and symlinks
- Add centos macros for some builds to complete successfully without relying
on random patching
* 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