Add a temporary workaround to always download filelists

Related: RHEL-28665

Signed-off-by: Brian Stinson <bstinson@redhat.com>
This commit is contained in:
Brian Stinson 2024-03-08 13:00:05 -06:00
parent 472e30924f
commit fc0747b79c

View File

@ -68,7 +68,7 @@ It supports RPMs, modules and comps groups & environments.
Name: dnf
Version: 4.19.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: %{pkg_summary}
# For a breakdown of the licensing, see PACKAGE-LICENSING
License: GPL-2.0-or-later AND GPL-1.0-only
@ -229,6 +229,11 @@ mv -f %{buildroot}%{confdir}/%{name}-strict.conf %{buildroot}%{confdir}/%{name}.
rm -vf %{buildroot}%{confdir}/%{name}-strict.conf
%endif
# A temporary workaround to re-enable always downloading filelists
# See RHEL-28665 for more details
echo 'optional_metadata_types="filelists"' >> %{buildroot}%{confdir}/%{name}.conf
# YUM compat layer
ln -sr %{buildroot}%{confdir}/%{name}.conf %{buildroot}%{_sysconfdir}/yum.conf
ln -sr %{buildroot}%{_bindir}/dnf-3 %{buildroot}%{_bindir}/yum
@ -385,6 +390,10 @@ popd
%{python3_sitelib}/%{name}/automatic/
%changelog
* Fri Mar 08 2024 Brian Stinson <bstinson@redhat.com> - 4.19.0-2
- Add a temporary workaround to always download filelists
Related: RHEL-28665
* Thu Feb 08 2024 Jan Kolarik <jkolarik@redhat.com> - 4.19.0-1
- Update to 4.19.0
- filelists metadata loading on demand