Add stream dnf variable for CentOS SIG repos compatibility

This commit is contained in:
Andrew Lukoshko 2022-11-09 23:03:04 +01:00
parent 1d0d3c34af
commit 5459f62a18

View File

@ -8,7 +8,7 @@
%define dist_release_version 8 %define dist_release_version 8
%define upstream_rel_long 8.7-0.3 %define upstream_rel_long 8.7-0.3
%define upstream_rel 8.7 %define upstream_rel 8.7
%define almalinux_rel 1 %define almalinux_rel 2
%define dist .el%{dist_release_version} %define dist .el%{dist_release_version}
# The anaconda scripts in %%{_libexecdir} can create false requirements # The anaconda scripts in %%{_libexecdir} can create false requirements
@ -136,6 +136,7 @@ install -m 644 %{SOURCE311} %{buildroot}/etc/yum.repos.d
mkdir -p -m 755 %{buildroot}/etc/dnf/vars mkdir -p -m 755 %{buildroot}/etc/dnf/vars
echo "%{infra_var}" > %{buildroot}/etc/dnf/vars/infra echo "%{infra_var}" > %{buildroot}/etc/dnf/vars/infra
echo "%{contentdir}" >%{buildroot}/etc/dnf/vars/contentdir echo "%{contentdir}" >%{buildroot}/etc/dnf/vars/contentdir
echo "%{base_release_version}-stream" > %{buildroot}/etc/dnf/vars/stream
# set up the dist tag macros # set up the dist tag macros
install -d -m 755 %{buildroot}/etc/rpm install -d -m 755 %{buildroot}/etc/rpm
@ -205,6 +206,9 @@ rm -rf %{buildroot}
%{_prefix}/lib/systemd/system-preset/* %{_prefix}/lib/systemd/system-preset/*
%changelog %changelog
* Wed Nov 09 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 8.7-2
- Add stream dnf variable for CentOS SIG repos compatibility
* Mon Nov 07 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 8.7-1 * Mon Nov 07 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 8.7-1
- 8.7 stable release - 8.7 stable release
- Add SAP and SAPHANA repos - Add SAP and SAPHANA repos