Skip to content

Commit

Permalink
dnf-data: depend on /etc/dnf/dnf.conf, not libdnf5
Browse files Browse the repository at this point in the history
This change makes it resilient in some corner cases, such as if the user
has installed an old version of libdnf5 that doesn't provide
/etc/dnf/dnf.conf.
  • Loading branch information
evan-goode authored and j-mracek committed Jun 2, 2023
1 parent a2a9d59 commit 3e434c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Conflicts: python3-dnf-plugins-extras-common < %{conflicts_dnf_plugins_extr
Summary: Common data and configuration files for DNF
Requires: libreport-filesystem
%if 0%{?fedora} > 38
Requires: libdnf5
Requires: /etc/dnf/dnf.conf
%endif
Obsoletes: %{name}-conf <= %{version}-%{release}
Provides: %{name}-conf = %{version}-%{release}
Expand Down

0 comments on commit 3e434c8

Please sign in to comment.