diff --git a/dnf.spec b/dnf.spec index 4cab35e..40ddb34 100644 --- a/dnf.spec +++ b/dnf.spec @@ -73,7 +73,7 @@ It supports RPMs, modules and comps groups & environments. Name: dnf Version: 4.14.0 -Release: 27%{?dist} +Release: 28%{?dist} Summary: %{pkg_summary} # For a breakdown of the licensing, see PACKAGE-LICENSING License: GPLv2+ @@ -221,6 +221,7 @@ Requires: rpm-plugin-systemd-inhibit %else Recommends: (rpm-plugin-systemd-inhibit if systemd) %endif +Provides: dnf4 = %{version}-%{release} %description -n python3-%{name} Python 3 interface to DNF. @@ -276,6 +277,7 @@ mkdir -p %{buildroot}%{_localstatedir}/log/ mkdir -p %{buildroot}%{_var}/cache/dnf/ touch %{buildroot}%{_localstatedir}/log/%{name}.log ln -sr %{buildroot}%{_bindir}/dnf-3 %{buildroot}%{_bindir}/dnf +ln -sr %{buildroot}%{_bindir}/dnf-3 %{buildroot}%{_bindir}/dnf4 mv %{buildroot}%{_bindir}/dnf-automatic-3 %{buildroot}%{_bindir}/dnf-automatic rm -vf %{buildroot}%{_bindir}/dnf-automatic-* @@ -404,6 +406,7 @@ popd %files -n python3-%{name} %{_bindir}/%{name}-3 +%{_bindir}/%{name}4 %exclude %{python3_sitelib}/%{name}/automatic %{python3_sitelib}/%{name}/ %dir %{py3pluginpath} @@ -427,6 +430,9 @@ popd # bootc subpackage does not include any files %changelog +* Fri Apr 04 2025 Evan Goode - 4.14.0-28 +- Add dnf4 provides and symlink /usr/bin/dnf4 -> /usr/bin/dnf-3 (RHEL-82310) + * Fri Mar 07 2025 Ales Matej - 4.14.0-27 - usage help: don't mark mandatory option parameters as optional (RHEL-63958)