add missing upstream_rel macro

This commit is contained in:
Louis Abel 2023-01-29 17:48:43 -07:00
parent 1073447f1f
commit e603e7b6bf
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -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?