From 0f1903e64acc0b986d7e792a691cab6ae30dbc5f Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Tue, 28 May 2024 07:44:20 -0700 Subject: [PATCH] add distcore --- SPECS/rocky-release.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/SPECS/rocky-release.spec b/SPECS/rocky-release.spec index 5995380..e624efb 100644 --- a/SPECS/rocky-release.spec +++ b/SPECS/rocky-release.spec @@ -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 - 9.4-1.6 +- Add distcore macro + * Tue Apr 30 2024 Louis Abel - 9.4-1.5 - Add nvidia SB certificates