Add /usr/lib/kpatch to install and files list to appease SELinux
Resolves: rhbz#2030004 Signed-off-by: Yannick Cote <ycote@redhat.com>
This commit is contained in:
parent
3acf8304bf
commit
de63dedaa1
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: kpatch
|
Name: kpatch
|
||||||
Version: 0.9.4
|
Version: 0.9.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Dynamic kernel patch manager
|
Summary: Dynamic kernel patch manager
|
||||||
|
|
||||||
Group: System Environment/Kernel
|
Group: System Environment/Kernel
|
||||||
@ -68,6 +68,7 @@ make -C kpatch-dnf-%{kpatch_dnf_ver}
|
|||||||
make install PREFIX=/usr DESTDIR=%{buildroot} -C kpatch
|
make install PREFIX=/usr DESTDIR=%{buildroot} -C kpatch
|
||||||
make install PREFIX=/usr DESTDIR=%{buildroot} -C man
|
make install PREFIX=/usr DESTDIR=%{buildroot} -C man
|
||||||
make install PREFIX=/usr DESTDIR=%{buildroot} -C contrib
|
make install PREFIX=/usr DESTDIR=%{buildroot} -C contrib
|
||||||
|
mkdir -p %{buildroot}/%{_sharedstatedir}/kpatch
|
||||||
rm -f %{buildroot}/usr/share/man/man1/kpatch-build.1.gz
|
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}
|
make install PREFIX=/usr DESTDIR=%{buildroot} PYTHONSITES=%{python3_sitelib} -C kpatch-dnf-%{kpatch_dnf_ver}
|
||||||
@ -75,6 +76,7 @@ make install PREFIX=/usr DESTDIR=%{buildroot} PYTHONSITES=%{python3_sitelib} -C
|
|||||||
%files
|
%files
|
||||||
%{_sbindir}/kpatch
|
%{_sbindir}/kpatch
|
||||||
%{_usr}/lib/systemd/system/kpatch.service
|
%{_usr}/lib/systemd/system/kpatch.service
|
||||||
|
%{_sharedstatedir}/kpatch
|
||||||
%doc %{_mandir}/man1/kpatch.1.gz
|
%doc %{_mandir}/man1/kpatch.1.gz
|
||||||
|
|
||||||
%files -n kpatch-dnf
|
%files -n kpatch-dnf
|
||||||
@ -88,6 +90,9 @@ echo "To enable automatic kpatch-patch subscription, run:"
|
|||||||
echo -e "\t$ dnf kpatch auto"
|
echo -e "\t$ dnf kpatch auto"
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 27 2022 Yannick Cote <ycote@redhat.com> 0.9.4-2
|
||||||
|
- Add /usr/lib/kpatch to install and files list to appease SELinux (rhbz#2030004)
|
||||||
|
|
||||||
* Wed Sep 29 2021 Artem Savkov <asavkov@redhat.com> - 0.9.4-1
|
* Wed Sep 29 2021 Artem Savkov <asavkov@redhat.com> - 0.9.4-1
|
||||||
- Rebase to 0.9.4
|
- Rebase to 0.9.4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user