From fc0747b79cbad7c00c6d125110f9a9c478cdd5a2 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Fri, 8 Mar 2024 13:00:05 -0600 Subject: [PATCH] Add a temporary workaround to always download filelists Related: RHEL-28665 Signed-off-by: Brian Stinson --- dnf.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dnf.spec b/dnf.spec index 732a352..ad03d3e 100644 --- a/dnf.spec +++ b/dnf.spec @@ -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 - 4.19.0-2 +- Add a temporary workaround to always download filelists + Related: RHEL-28665 + * Thu Feb 08 2024 Jan Kolarik - 4.19.0-1 - Update to 4.19.0 - filelists metadata loading on demand