Merge pull request #116 from useidel/master

adapted Makefile.inc contrib/Makefile and SPEC file for dracut modules
This commit is contained in:
Seth Jennings 2014-04-10 16:06:47 -05:00
commit 205a508489
3 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -1,7 +1,5 @@
include ../Makefile.inc
DRACUTDIR=/usr/lib/dracut/modules.d/99kpatch
all:
install: all

View File

@ -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,-)