Skip to content

Commit

Permalink
spec: Provide dnf4 by python3-dnf
Browse files Browse the repository at this point in the history
To differentiate from DNF5, python3-dnf already packages /usr/bin/dnf4
symbolic link. After dnf5 obsoleting dnf, people willing to install
DNF4 they had to install python3-dnf package, a package whose name is
hard to remember.

This patch adds "dnf4" RPM provide to python3-dnf package.

This patch should be backported to all systems so that people can rely
on this new identifier.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2328463
  • Loading branch information
ppisar committed Jan 9, 2025
1 parent eabf33a commit 1af5826
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dnf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ Requires: rpm-plugin-systemd-inhibit
%else
Recommends: (rpm-plugin-systemd-inhibit if systemd)
%endif
Provides: dnf4 = %{version}-%{release}
Provides: dnf-command(alias)
Provides: dnf-command(autoremove)
Provides: dnf-command(check-update)
Expand Down

0 comments on commit 1af5826

Please sign in to comment.