| |
@@ -120,6 +120,7 @@
|
| |
Source28: longer-default-shutdown-timeout.conf
|
| |
Source29: org.gnome.settings-daemon.plugins.power.gschema.override
|
| |
Source30: fedora-sway.conf
|
| |
+ Source31: 20-fedora-defaults.conf
|
| |
|
| |
BuildArch: noarch
|
| |
|
| |
@@ -1646,6 +1647,9 @@
|
| |
install -d %{buildroot}%{_sysconfdir}/swid/swidtags.d
|
| |
ln -s --relative %{buildroot}%{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.org
|
| |
|
| |
+ # Install DNF 5 configuration defaults
|
| |
+ install -Dm0644 %{SOURCE31} -t %{buildroot}%{_prefix}/share/dnf5/libdnf.conf.d/
|
| |
+
|
| |
|
| |
%files common
|
| |
%license licenses/LICENSE licenses/Fedora-Legal-README.txt
|
| |
@@ -1673,6 +1677,7 @@
|
| |
%{_swidtagdir}/org.fedoraproject.Fedora-%{bug_version}.swidtag
|
| |
%dir %{_sysconfdir}/swid
|
| |
%{_sysconfdir}/swid/swidtags.d
|
| |
+ %{_prefix}/share/dnf5/libdnf.conf.d/20-fedora-defaults.conf
|
| |
|
| |
|
| |
%if %{with basic}
|
| |
Fedora should override DNF 5's upstream defaults and set
best=False
andskip_if_unavailable=True
. These are the status-quo settings for DNF 4 onFedora.
The DNF team may propose changing these downstream settings in the
future, but for now, we should keep the default behavior of DNF 5
consistent with DNF 4 as we replace DNF 4 with DNF 5 in Rawhide.
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=2219153 and
https://bugzilla.redhat.com/show_bug.cgi?id=2216205.