add distcore

This commit is contained in:
Louis Abel 2024-05-27 21:25:56 -07:00
parent 474e6c1274
commit bbfcea9295
Signed by: label
GPG Key ID: 2A6975660E424560

View File

@ -21,7 +21,7 @@
%define distro_code Red Quartz
%define major 10
%define minor 0
%define rocky_rel 0%{?rllh:.%{rllh}}%{!?rllh:.9}
%define rocky_rel 0%{?rllh:.%{rllh}}%{!?rllh:.10}
%define rpm_license BSD-3-Clause
%define dist .el%{major}
%define home_url https://rockylinux.org/
@ -288,7 +288,8 @@ cat > %{buildroot}%{_rpmmacrodir}/macros.dist << EOF
%%centos_ver %{major}
%%centos %{major}
%%rhel %{major}
%%dist %%{!?distprefix0:%%{?distprefix}}%%{expand:%%{lua:for i=0,9999 do print("%%{?distprefix" .. i .."}") end}}.el%{major}%%{?distsuffix}%%{?with_bootstrap:%{__bootstrap}}
%%distcore .el%%{rocky}
%%dist %%{!?distprefix0:%%{?distprefix}}%%{expand:%%{lua:for i=0,9999 do print("%%{?distprefix" .. i .."}") end}}%%{distcore}%%{?distsuffix}%%{?with_bootstrap:%{__bootstrap}}
%%el%{major} 1
%%dist_vendor %{dist_vendor}
@ -481,6 +482,9 @@ install -p -m 0644 %{SOURCE102} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/
%{_datadir}/pki/sb-certs/*
%changelog
* Mon May 27 2024 Louis Abel <label@resf.org> - 10.0-0.10
- Add distcore macro
* Tue May 14 2024 Louis Abel <label@rockylinux.org> - 10.0-0.9
- Update preset