mirror of https://github.com/dynup/kpatch
Merge pull request #116 from useidel/master
adapted Makefile.inc contrib/Makefile and SPEC file for dracut modules
This commit is contained in:
commit
205a508489
|
@ -10,6 +10,7 @@ MODULESDIR = $(DESTDIR)$(PREFIX)/lib/modules
|
|||
LIBEXECDIR = $(DESTDIR)$(PREFIX)/libexec/kpatch
|
||||
DATADIR = $(DESTDIR)$(PREFIX)/share/kpatch
|
||||
MANDIR = $(DESTDIR)$(PREFIX)/share/man/man1
|
||||
DRACUTDIR = $(DESTDIR)$(PREFIX)/lib/dracut/modules.d/99kpatch
|
||||
|
||||
.PHONY: all install clean
|
||||
.DEFAULT: all
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
include ../Makefile.inc
|
||||
|
||||
DRACUTDIR=/usr/lib/dracut/modules.d/99kpatch
|
||||
|
||||
all:
|
||||
|
||||
install: all
|
||||
|
|
|
@ -4,7 +4,7 @@ Version: 0.0.1
|
|||
License: GPLv2
|
||||
Group: System Environment/Kernel
|
||||
URL: http://github.com/dynup/kpatch
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
Requires: kmod bash
|
||||
|
@ -80,6 +80,8 @@ rm -rf %{buildroot}
|
|||
%doc COPYING README.md
|
||||
%{_sbindir}/kpatch
|
||||
%{_mandir}/man1/kpatch.1*
|
||||
%{_usr}/lib/dracut/modules.d/99%{name}/*
|
||||
|
||||
|
||||
%files %{KVER}
|
||||
%defattr(-,root,root,-)
|
||||
|
|
Loading…
Reference in New Issue