From ade4d69f4c3880fa6cdb39a64f9bbec307e88192 Mon Sep 17 00:00:00 2001 From: Julien Thierry Date: Jan 13 2021 13:38:22 +0000 Subject: 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 --- diff --git a/kpatch.spec b/kpatch.spec index 8cb3c68..c5482e2 100644 --- a/kpatch.spec +++ b/kpatch.spec @@ -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 0.9.2-2 +- Remove kpatch-dnf dependency on python3 (rhbz#1912457) + * Wed Dec 2 2020 Joe Lawrence 0.9.2-1 - initial kpatch utility build for rhel-9.0.0 (rhbz#1901593)