add dnf stream var

This commit is contained in:
Louis Abel 2022-08-30 00:58:17 -07:00
parent 156bb3bd32
commit 62a596c20d
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -20,7 +20,7 @@
%define distro_code Blue Onyx
%define major 9
%define minor 0
%define rocky_rel 3%{?rllh:.%{rllh}}%{!?rllh:.1}
%define rocky_rel 3%{?rllh:.%{rllh}}%{!?rllh:.2}
%define rpm_license BSD-3-Clause
%define dist .el%{major}
%define home_url https://rockylinux.org/
@ -357,6 +357,7 @@ install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars
echo "%{contentdir}" > %{buildroot}%{_sysconfdir}/dnf/vars/contentdir
echo "%{sigcontent}" > %{buildroot}%{_sysconfdir}/dnf/vars/sigcontentdir
echo "%{?rltype}" > %{buildroot}%{_sysconfdir}/dnf/vars/rltype
echo "%{major}-stream" > %{buildroot}%{_sysconfdir}/dnf/vars/stream
# Copy out GPG keys
install -d -m 0755 %{buildroot}%{_sysconfdir}/pki/rpm-gpg
@ -423,6 +424,9 @@ install -m 0644 %{SOURCE404} %{buildroot}/%{_prefix}/lib/sysctl.d/50-redhat.conf
%{_datadir}/pki/sb-certs/*
%changelog
* Tue Aug 30 2022 Louis Abel <label@rockylinux.org> - 9.0-3.2
- Add stream dnf var
* Thu Jul 28 2022 Louis Abel <label@rockylinux.org> - 9.0-3.1
- Ensure distsuffix is part of disttag