From e603e7b6bfa756ed096abb996811cf271c9a387a Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Sun, 29 Jan 2023 17:48:43 -0700 Subject: [PATCH] add missing upstream_rel macro --- SPECS/rocky-release.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SPECS/rocky-release.spec b/SPECS/rocky-release.spec index 3eda200..908aa29 100644 --- a/SPECS/rocky-release.spec +++ b/SPECS/rocky-release.spec @@ -21,6 +21,7 @@ %define major 8 %define minor 8 %define rocky_rel 1%{?rllh:.%{rllh}}%{!?rllh:.2} +%define upstream_rel %{major}.%{minor}-0.1 %define rpm_license BSD-3-Clause %define dist .el%{major} %define home_url https://rockylinux.org/ @@ -99,7 +100,7 @@ BuildArch: noarch # groups) and things like EPEL need it. Provides: rocky-release = %{version}-%{release} Provides: rocky-release(upstream) = %{full_release_version} -Provides: redhat-release = %{version}-%{release} +Provides: redhat-release = %{upstream_rel} Provides: system-release = %{version}-%{release} Provides: system-release(releasever) = %{major} Provides: centos-release = %{version}-%{release} @@ -110,7 +111,7 @@ Provides: base-module(platform:el%{major}) ## This makes lorax/pungi/anaconda happy Provides: rocky-release-eula = %{version}-%{release} -Provides: redhat-release-eula = %{version}-%{release} +Provides: redhat-release-eula = %{upstream_rel} Provides: centos-release-eula = %{version}-%{release} # What are our requirements?