Merge commit 'refs/top-bases/linux-have-libdiskmgt' into linux-have-libdiskmgt
This commit is contained in:
commit
e4c2959728
|
@ -1,6 +0,0 @@
|
||||||
The bulk of the library is Copyright 2004 Sun Microsystems, Inc.
|
|
||||||
Portions are Copyright 2006 OmniTI, Inc.
|
|
||||||
|
|
||||||
The library is distributed under the terms of the CDDL.
|
|
||||||
See the file OPENSOLARIS.LICENSE for more information.
|
|
||||||
|
|
|
@ -66,11 +66,13 @@ AC_DEFUN([ZFS_AC_KERNEL], [
|
||||||
AC_MSG_RESULT([$kernsrcver])
|
AC_MSG_RESULT([$kernsrcver])
|
||||||
|
|
||||||
kmoduledir=${INSTALL_MOD_PATH}/lib/modules/$kernsrcver
|
kmoduledir=${INSTALL_MOD_PATH}/lib/modules/$kernsrcver
|
||||||
LINUX=${kernelsrc}
|
LINUX=${kernelsrc}
|
||||||
LINUX_OBJ=${kernelbuild}
|
LINUX_OBJ=${kernelbuild}
|
||||||
|
LINUX_VERSION=${kernsrcver}
|
||||||
|
|
||||||
AC_SUBST(LINUX)
|
AC_SUBST(LINUX)
|
||||||
AC_SUBST(LINUX_OBJ)
|
AC_SUBST(LINUX_OBJ)
|
||||||
|
AC_SUBST(LINUX_VERSION)
|
||||||
AC_SUBST(kmoduledir)
|
AC_SUBST(kmoduledir)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
noinst_HEADERS = sys/*.h
|
pkginclude_HEADERS = sys/*.h
|
||||||
|
|
|
@ -85,7 +85,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS ChangeLog COPYING COPYRIGHT DISCLAIMER GIT
|
%doc AUTHORS ChangeLog COPYING DISCLAIMER GIT
|
||||||
%doc OPENSOLARIS.LICENSE README TODO ZFS.RELEASE
|
%doc OPENSOLARIS.LICENSE README TODO ZFS.RELEASE
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%{_libdir}/*
|
%{_libdir}/*
|
||||||
|
@ -94,6 +94,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{kdir}/include/zfs/*
|
%{kdir}/include/zfs/*
|
||||||
|
%{_includedir}/*
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ -f /boot/System.map-%{kver} ]; then
|
if [ -f /boot/System.map-%{kver} ]; then
|
||||||
|
|
Loading…
Reference in New Issue