From d79cd56dba9a86293b3b36ead75e07d6a13191b1 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Fri, 7 Jun 2024 06:31:48 -0700 Subject: [PATCH] fix macros --- SPECS/rocky-release.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPECS/rocky-release.spec b/SPECS/rocky-release.spec index e7ce5b1..f82aef3 100644 --- a/SPECS/rocky-release.spec +++ b/SPECS/rocky-release.spec @@ -293,7 +293,7 @@ cat > %{buildroot}%{_rpmmacrodir}/macros.dist << EOF %%centos_ver %{major} %%centos %{major} %%rhel %{major} -%%distcore .el%%{rocky} +%%distcore .el%{major} %%dist %%{!?distprefix0:%%{?distprefix}}%%{expand:%%{lua:for i=0,9999 do print("%%{?distprefix" .. i .."}") end}}%%{distcore}%%{?distsuffix}%%{?with_bootstrap:%{__bootstrap}} %%el%{major} 1