Add dnf4 provides and symlink /usr/bin/dnf4 -> /usr/bin/dnf-3
Resolves: https://issues.redhat.com/browse/RHEL-82310
This commit is contained in:
parent
267f870392
commit
fe8b678acd
8
dnf.spec
8
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 <egoode@redhat.com> - 4.14.0-28
|
||||
- Add dnf4 provides and symlink /usr/bin/dnf4 -> /usr/bin/dnf-3 (RHEL-82310)
|
||||
|
||||
* Fri Mar 07 2025 Ales Matej <amatej@redhat.com> - 4.14.0-27
|
||||
- usage help: don't mark mandatory option parameters as optional (RHEL-63958)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user