add distcore

This commit is contained in:
Louis Abel 2024-05-28 07:44:20 -07:00
parent e519eb201e
commit 0f1903e64a
Signed by: label
GPG Key ID: 2A6975660E424560

View File

@ -21,7 +21,7 @@
%define distro_code Blue Onyx
%define major 9
%define minor 4
%define rocky_rel 1%{?rllh:.%{rllh}}%{!?rllh:.5}
%define rocky_rel 1%{?rllh:.%{rllh}}%{!?rllh:.6}
%define rpm_license BSD-3-Clause
%define dist .el%{major}
%define home_url https://rockylinux.org/
@ -293,7 +293,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}
@ -501,6 +502,9 @@ install -m 0644 %{SOURCE404} %{buildroot}/%{_prefix}/lib/sysctl.d/50-redhat.conf
%{_datadir}/pki/sb-certs/*
%changelog
* Tue May 28 2024 Louis Abel <label@rockylinux.org> - 9.4-1.6
- Add distcore macro
* Tue Apr 30 2024 Louis Abel <label@rockylinux.org> - 9.4-1.5
- Add nvidia SB certificates