mirror of
https://git.rockylinux.org/staging/src/rocky-release.git
synced 2024-12-22 16:48:29 +00:00
add missing upstream_rel macro
This commit is contained in:
parent
1073447f1f
commit
e603e7b6bf
@ -21,6 +21,7 @@
|
|||||||
%define major 8
|
%define major 8
|
||||||
%define minor 8
|
%define minor 8
|
||||||
%define rocky_rel 1%{?rllh:.%{rllh}}%{!?rllh:.2}
|
%define rocky_rel 1%{?rllh:.%{rllh}}%{!?rllh:.2}
|
||||||
|
%define upstream_rel %{major}.%{minor}-0.1
|
||||||
%define rpm_license BSD-3-Clause
|
%define rpm_license BSD-3-Clause
|
||||||
%define dist .el%{major}
|
%define dist .el%{major}
|
||||||
%define home_url https://rockylinux.org/
|
%define home_url https://rockylinux.org/
|
||||||
@ -99,7 +100,7 @@ BuildArch: noarch
|
|||||||
# groups) and things like EPEL need it.
|
# groups) and things like EPEL need it.
|
||||||
Provides: rocky-release = %{version}-%{release}
|
Provides: rocky-release = %{version}-%{release}
|
||||||
Provides: rocky-release(upstream) = %{full_release_version}
|
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 = %{version}-%{release}
|
||||||
Provides: system-release(releasever) = %{major}
|
Provides: system-release(releasever) = %{major}
|
||||||
Provides: centos-release = %{version}-%{release}
|
Provides: centos-release = %{version}-%{release}
|
||||||
@ -110,7 +111,7 @@ Provides: base-module(platform:el%{major})
|
|||||||
|
|
||||||
## This makes lorax/pungi/anaconda happy
|
## This makes lorax/pungi/anaconda happy
|
||||||
Provides: rocky-release-eula = %{version}-%{release}
|
Provides: rocky-release-eula = %{version}-%{release}
|
||||||
Provides: redhat-release-eula = %{version}-%{release}
|
Provides: redhat-release-eula = %{upstream_rel}
|
||||||
Provides: centos-release-eula = %{version}-%{release}
|
Provides: centos-release-eula = %{version}-%{release}
|
||||||
|
|
||||||
# What are our requirements?
|
# What are our requirements?
|
||||||
|
Loading…
Reference in New Issue
Block a user