mirror of
https://git.rockylinux.org/staging/src/rocky-release.git
synced 2024-11-22 14:11:23 +00:00
add distcore
This commit is contained in:
parent
474e6c1274
commit
bbfcea9295
@ -21,7 +21,7 @@
|
|||||||
%define distro_code Red Quartz
|
%define distro_code Red Quartz
|
||||||
%define major 10
|
%define major 10
|
||||||
%define minor 0
|
%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 rpm_license BSD-3-Clause
|
||||||
%define dist .el%{major}
|
%define dist .el%{major}
|
||||||
%define home_url https://rockylinux.org/
|
%define home_url https://rockylinux.org/
|
||||||
@ -288,7 +288,8 @@ cat > %{buildroot}%{_rpmmacrodir}/macros.dist << EOF
|
|||||||
%%centos_ver %{major}
|
%%centos_ver %{major}
|
||||||
%%centos %{major}
|
%%centos %{major}
|
||||||
%%rhel %{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
|
%%el%{major} 1
|
||||||
|
|
||||||
%%dist_vendor %{dist_vendor}
|
%%dist_vendor %{dist_vendor}
|
||||||
@ -481,6 +482,9 @@ install -p -m 0644 %{SOURCE102} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/
|
|||||||
%{_datadir}/pki/sb-certs/*
|
%{_datadir}/pki/sb-certs/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue May 14 2024 Louis Abel <label@rockylinux.org> - 10.0-0.9
|
||||||
- Update preset
|
- Update preset
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user