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