experiment with upstream_long

This commit is contained in:
Louis Abel 2022-07-07 19:39:41 -07:00
parent 1da1a2b9f2
commit 5a3d90ce78
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -9,9 +9,10 @@
%define distro_name Rocky Linux
%define distro_code Green Obsidian
%define major 8
%define minor 6
%define rocky_rel 3
%define minor 7
%define rocky_rel 1
%define upstream_rel %{major}.%{minor}
%define upstream_long %{major}.%{minor}-0.1
%define rpm_license BSD-3-Clause
%define base_release_version %{major}
@ -36,8 +37,8 @@ BuildArch: noarch
# What do we provide?
Provides: rocky-release = %{version}-%{release}
Provides: rocky-release(upstream) = %{upstream_rel}
Provides: redhat-release = %{version}-%{release}
Provides: system-release = %{version}-%{release}
Provides: redhat-release = %{upstream_long}
Provides: system-release = %{upstream_long}
Provides: system-release(releasever) = %{major}
Provides: centos-release = %{version}-%{release}
Provides: centos-release(upstream) = %{upstream_rel}
@ -240,6 +241,10 @@ install -p -m 0644 %{SOURCE1226} %{buildroot}%{_sysconfdir}/yum.repos.d/
%{_sysconfdir}/pki/rpm-gpg/
%changelog
* Thu Jul 07 2022 Louis Abel <label@rockylinux.org> - 8.7-1
- Branch off and make system-release provide match
upstream long form
* Fri May 20 2022 Louis Abel <label@rockylinux.org> - 8.6-3
- Add pub/sig var for dnf