7a9d72
Name:		kpatch
0756ed
Version:	0.6.1
0756ed
Release:	1%{?dist}
7a9d72
Summary:	Dynamic kernel patch manager
7a9d72
7a9d72
Group:		System Environment/Kernel
7a9d72
License:	GPLv2
7a9d72
URL:		https://github.com/dynup/kpatch
7a9d72
Source0:	https://github.com/dynup/kpatch/archive/v%{version}.tar.gz
0756ed
Patch0:		0001-contrib-disable-upstart-kpatch.conf-install.patch
7a9d72
7a9d72
Requires:	bash kmod binutils
7a9d72
7a9d72
BuildArch:	noarch
7a9d72
7a9d72
7a9d72
%description
7a9d72
kpatch is a dynamic kernel patch module manager.  It allows the user to manage
7a9d72
a collection of binary kernel patch modules which can be used to dynamically
7a9d72
patch the kernel without rebooting.
7a9d72
7a9d72
7a9d72
%prep
7a9d72
%setup -q
7a9d72
%patch0 -p1
7a9d72
7a9d72
7a9d72
%build
7a9d72
make -C man
7a9d72
7a9d72
7a9d72
%install
7a9d72
make install PREFIX=/usr DESTDIR=%{buildroot} -C kpatch
7a9d72
make install PREFIX=/usr DESTDIR=%{buildroot} -C man
7a9d72
make install PREFIX=/usr DESTDIR=%{buildroot} -C contrib
7a9d72
rm -f %{buildroot}/usr/share/man/man1/kpatch-build.1.gz
7a9d72
7a9d72
7a9d72
%files
7a9d72
%{_sbindir}/kpatch
7a9d72
%{_usr}/lib/systemd/system/kpatch.service
7a9d72
%doc %{_mandir}/man1/kpatch.1.gz
7a9d72
7a9d72
7a9d72
%changelog
0756ed
* Thu Jun 21 2018 Joe Lawrence <joe.lawrence@redhat.com> 0.6.1-1
0756ed
- update to 0.6.1 (rhbz#1562976)
0756ed
4707dc
* Thu Nov 16 2017 Joe Lawrence <joe.lawrence@redhat.com> 0.4.0-3
4707dc
- kpatch: better livepatch module support (rhbz#1504066)
4707dc
7a9d72
* Wed Oct 18 2017 Josh Poimboeuf <jpoimboe@redhat.com> 0.4.0-2
7a9d72
- fix backwards compatibility with RHEL 7.3 patches (rhbz#1497735)
7a9d72
7a9d72
* Mon Mar 13 2017 Josh Poimboeuf <jpoimboe@redhat.com> 0.4.0-1
7a9d72
- update to 0.4.0 (rhbz#1427642)
7a9d72
7a9d72
* Wed Jun 15 2016 Josh Poimboeuf <jpoimboe@redhat.com> 0.3.2-1
7a9d72
- update to 0.3.2 (rhbz#1282508)
7a9d72
7a9d72
* Wed Nov 18 2015 Josh Poimboeuf <jpoimboe@redhat.com> 0.3.1-1
7a9d72
- update to 0.3.1 (rhbz#1282508)
7a9d72
7a9d72
* Tue Sep 16 2014 Seth Jennings <sjenning@redhat.com> 0.1.10-4
7a9d72
- fix dracut dependencies (rhbz#1170369)
7a9d72
7a9d72
* Tue Sep 16 2014 Seth Jennings <sjenning@redhat.com> 0.1.10-3
7a9d72
- support re-enabling forced modules (rhbz#1140268)
7a9d72
7a9d72
* Thu Sep 11 2014 Seth Jennings <sjenning@redhat.com> 0.1.10-2
7a9d72
- support modprobe format names (rhbz#1133045)
7a9d72
7a9d72
* Thu Jul 31 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.10-1
7a9d72
- update to kpatch 0.1.10
7a9d72
7a9d72
* Wed Jul 23 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.9-1
7a9d72
- update to kpatch 0.1.9
7a9d72
7a9d72
* Tue Jul 15 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.8-1
7a9d72
- update to kpatch 0.1.8
7a9d72
7a9d72
* Wed May 21 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.2-1
7a9d72
- update to kpatch 0.1.2
7a9d72
7a9d72
* Mon May 19 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.1-2
7a9d72
- fix initramfs core module path
7a9d72
7a9d72
* Mon May 19 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.1-1
7a9d72
- rebase to kpatch 0.1.1
7a9d72
7a9d72
* Fri May 9 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.0-2
7a9d72
- modprobe core module
7a9d72
7a9d72
* Tue May 6 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.0-1
7a9d72
- Initial kpatch release 0.1.0
7a9d72
7a9d72
* Thu Jan 30 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.0-1
7a9d72
- Initial build