Disable downloading filelists by default

Resolves: RHEL-12355
This commit is contained in:
Petr Písař 2024-06-12 14:27:37 +02:00
parent 5d5a1f936f
commit 8b41c667f5

View File

@ -68,7 +68,7 @@ It supports RPMs, modules and comps groups & environments.
Name: dnf
Version: 4.20.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
@ -241,11 +241,6 @@ 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
@ -421,6 +416,9 @@ popd
%{python3_sitelib}/%{name}/automatic/
%changelog
* Wed Jun 12 2024 Petr Pisar <ppisar@redhat.com> - 4.20.0-2
- Disable downloading filelists by default (RHEL-12355)
* Wed Apr 24 2024 Jan Kolarik <jkolarik@redhat.com> - 4.20.0-1
- Update to 4.20.0 (RHEL-38831)
- repoquery: Fix loading filelists when -f is used (RhBug:2276012)