spec: Fix kpatch-dnf dependencies
Unlike kpatch and kpatch-dnf, python3 is not part of the BaseOS compose. Hence, kpatch-dnf shouldn't depend on python3. Akin to other BaseOS dnf plugins, depending on python3-dnf is enough and have a dependency on system-python to have python3 ABI. (And kpatch-dnf is not shipped on RHEL version having system-python with python2 ABI, so we don't have to worry about that case) Resolves: rhbz#1912457 Signed-off-by: Julien Thierry <jthierry@redhat.com>
This commit is contained in:
parent
0834160357
commit
ade4d69f4c
@ -2,7 +2,7 @@
|
||||
|
||||
Name: kpatch
|
||||
Version: 0.9.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Dynamic kernel patch manager
|
||||
|
||||
Group: System Environment/Kernel
|
||||
@ -36,9 +36,9 @@ patch the kernel without rebooting.
|
||||
%package -n kpatch-dnf
|
||||
Summary: kpatch-patch manager plugin for DNF
|
||||
Version: %kpatch_dnf_ver
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
BuildRequires: python3-devel python3-dnf
|
||||
Requires: python3 python3-dnf python3-hawkey
|
||||
Requires: python3-dnf python3-hawkey
|
||||
Provides: kpatch-dnf
|
||||
|
||||
%description -n kpatch-dnf
|
||||
@ -86,5 +86,8 @@ echo "To enable automatic kpatch-patch subscription, run:"
|
||||
echo -e "\t$ dnf kpatch auto"
|
||||
|
||||
%changelog
|
||||
* Mon Jan 04 2021 Julien Thierry <jthierry@redhat.com> 0.9.2-2
|
||||
- Remove kpatch-dnf dependency on python3 (rhbz#1912457)
|
||||
|
||||
* Wed Dec 2 2020 Joe Lawrence <joe.lawrence@redhat.com> 0.9.2-1
|
||||
- initial kpatch utility build for rhel-9.0.0 (rhbz#1901593)
|
||||
|
Loading…
Reference in New Issue
Block a user