diff --git a/kpatch.spec b/kpatch.spec index 9657f7057d6cac1d1ad8ada7bd6f072b2af18e5d..628fdf767c061d4d82d46ad9eb9a31b4343570b9 100644 --- a/kpatch.spec +++ b/kpatch.spec @@ -1,8 +1,10 @@ +%define anolis_release .0.1 + %define kpatch_dnf_ver 0.4 Name: kpatch Version: 0.9.4 -Release: 2%{?dist} +Release: 2%{anolis_release}%{?dist} Summary: Dynamic kernel patch manager Group: System Environment/Kernel @@ -26,6 +28,7 @@ Recommends: kpatch-dnf BuildArch: noarch +Provides: /usr/sbin/%{name} %description kpatch is a live kernel patch module manager. It allows the user to manage @@ -85,6 +88,9 @@ echo "To enable automatic kpatch-patch subscription, run:" echo -e "\t$ dnf kpatch auto" %changelog +* Mon Jul 18 2022 Zhao Hang - 0.9.4-2.0.1 +- Add provides + * Fri Jan 14 2022 Yannick Cote 0.9.4-2 - Add /usr/lib/kpatch to install and files list to appease SELinux (rhbz#2022123)