#332 DNF 5: set best=False, skip_if_unavailable=True
Merged 18 days ago by adamwill. Opened a month ago by egoode.
rpms/ egoode/fedora-release evan-goode/dnf-5-defaults  into  rawhide

@@ -0,0 +1,3 @@ 

+ [main]

+ best=False

+ skip_if_unavailable=True

file modified
+5
@@ -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 and
skip_if_unavailable=True. These are the status-quo settings for DNF 4 on
Fedora.

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.

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/99b234ffa90544aa8f74b4c773ef5b40

Pull-Request has been merged by adamwill

18 days ago
Metadata