eda019
Name:		kpatch
ffa013
Version:	0.1.10
df3aee
Release:	4%{?dist}
eda019
Summary:	Dynamic kernel patch manager
eda019
eda019
Group:		System Environment/Kernel
eda019
License:	GPLv2
15e601
URL:		https://github.com/dynup/kpatch
15e601
Source0:	https://github.com/dynup/kpatch/archive/v%{version}.tar.gz
576586
Patch0:		0002-Support-modprobe-style-names-in-kpatch-load.patch
576586
Patch1:		0003-Support-modprobe-format-names-in-uninstall.patch
576586
Patch2:		0003-re-enable-patch-modules-with-checksum-matching.patch
df3aee
Patch3:		0001-fix-dracut-dependencies.patch
eda019
eda019
#BuildRequires:
576586
Requires:		bash kmod dracut binutils
eda019
eda019
BuildArch:	noarch
eda019
eda019
eda019
%description
15e601
kpatch is a dynamic kernel patch module manager.  It allows the user to manage
15e601
a collection of binary kernel patch modules which can be used to dynamically
15e601
patch the kernel without rebooting.
15e601
eda019
eda019
%prep
eda019
%setup -q
576586
%patch0 -p1
576586
%patch1 -p1
576586
%patch2 -p1
df3aee
%patch3 -p1
eda019
eda019
eda019
%build
15e601
make -C man
eda019
eda019
eda019
%install
15e601
make install PREFIX=/usr DESTDIR=%{buildroot} -C kpatch
15e601
make install PREFIX=/usr DESTDIR=%{buildroot} -C man
15e601
make install PREFIX=/usr DESTDIR=%{buildroot} -C contrib
15e601
rm -f %{buildroot}/usr/share/man/man1/kpatch-build.1.gz
eda019
eda019
15e601
%files
15e601
%{_sbindir}/kpatch
15e601
%dir %{_usr}/lib/dracut/modules.d/99kpatch
15e601
%{_usr}/lib/dracut/modules.d/99kpatch/*
15e601
%doc %{_mandir}/man1/kpatch.1.gz
eda019
eda019
15e601
%changelog
df3aee
* Tue Sep 16 2014 Seth Jennings <sjenning@redhat.com> 0.1.10-4
df3aee
- fix dracut dependencies (rhbz#1170369)
df3aee
576586
* Tue Sep 16 2014 Seth Jennings <sjenning@redhat.com> 0.1.10-3
df3aee
- support re-enabling forced modules (rhbz#1140268)
576586
576586
* Thu Sep 11 2014 Seth Jennings <sjenning@redhat.com> 0.1.10-2
df3aee
- support modprobe format names (rhbz#1133045)
576586
ffa013
* Thu Jul 31 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.10-1
ffa013
- update to kpatch 0.1.10
ffa013
ffa013
* Wed Jul 23 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.9-1
ffa013
- update to kpatch 0.1.9
ffa013
ffa013
* Tue Jul 15 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.8-1
ffa013
- update to kpatch 0.1.8
ffa013
15e601
* Wed May 21 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.2-1
15e601
- update to kpatch 0.1.2
eda019
15e601
* Mon May 19 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.1-2
15e601
- fix initramfs core module path
eda019
15e601
* Mon May 19 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.1-1
15e601
- rebase to kpatch 0.1.1
eda019
15e601
* Fri May 9 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.0-2
15e601
- modprobe core module
eda019
15e601
* Tue May 6 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.0-1
15e601
- Initial kpatch release 0.1.0
eda019
eda019
* Thu Jan 30 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.0-1
eda019
- Initial build