From 1d9b2988eb92d1e78ae5cf4499db197049353ea9 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Thu, 27 Jan 2022 04:59:35 +0000 Subject: [PATCH] import kpatch-0.9.4-2.el8 --- SPECS/kpatch.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/SPECS/kpatch.spec b/SPECS/kpatch.spec index 43682b3..9657f70 100644 --- a/SPECS/kpatch.spec +++ b/SPECS/kpatch.spec @@ -2,7 +2,7 @@ Name: kpatch Version: 0.9.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Dynamic kernel patch manager Group: System Environment/Kernel @@ -63,6 +63,7 @@ make -C kpatch-dnf-%{kpatch_dnf_ver} make install PREFIX=/usr DESTDIR=%{buildroot} -C kpatch make install PREFIX=/usr DESTDIR=%{buildroot} -C man make install PREFIX=/usr DESTDIR=%{buildroot} -C contrib +mkdir -p %{buildroot}/%{_sharedstatedir}/kpatch rm -f %{buildroot}/usr/share/man/man1/kpatch-build.1.gz make install PREFIX=/usr DESTDIR=%{buildroot} PYTHONSITES=%{python3_sitelib} -C kpatch-dnf-%{kpatch_dnf_ver} @@ -70,6 +71,7 @@ make install PREFIX=/usr DESTDIR=%{buildroot} PYTHONSITES=%{python3_sitelib} -C %files %{_sbindir}/kpatch %{_usr}/lib/systemd/system/kpatch.service +%{_sharedstatedir}/kpatch %doc %{_mandir}/man1/kpatch.1.gz %files -n kpatch-dnf @@ -83,6 +85,9 @@ echo "To enable automatic kpatch-patch subscription, run:" echo -e "\t$ dnf kpatch auto" %changelog +* Fri Jan 14 2022 Yannick Cote 0.9.4-2 +- Add /usr/lib/kpatch to install and files list to appease SELinux (rhbz#2022123) + * Thu Sep 23 2021 Artem Savkov 0.9.4-1 - Update kpatch utility to 0.9.4 and kpatch-dnf to 0.4 (rhbz#2006841)