diff --git a/COPYRIGHT b/COPYRIGHT deleted file mode 100644 index 2ca1599458..0000000000 --- a/COPYRIGHT +++ /dev/null @@ -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. - diff --git a/config/zfs-build.m4 b/config/zfs-build.m4 index e9b24edb61..11e45c5004 100644 --- a/config/zfs-build.m4 +++ b/config/zfs-build.m4 @@ -66,11 +66,13 @@ AC_DEFUN([ZFS_AC_KERNEL], [ AC_MSG_RESULT([$kernsrcver]) kmoduledir=${INSTALL_MOD_PATH}/lib/modules/$kernsrcver - LINUX=${kernelsrc} - LINUX_OBJ=${kernelbuild} + LINUX=${kernelsrc} + LINUX_OBJ=${kernelbuild} + LINUX_VERSION=${kernsrcver} AC_SUBST(LINUX) AC_SUBST(LINUX_OBJ) + AC_SUBST(LINUX_VERSION) AC_SUBST(kmoduledir) ]) diff --git a/lib/libzpool/include/Makefile.am b/lib/libzpool/include/Makefile.am index 71f0eaa8e5..d386e052af 100644 --- a/lib/libzpool/include/Makefile.am +++ b/lib/libzpool/include/Makefile.am @@ -1 +1 @@ -noinst_HEADERS = sys/*.h +pkginclude_HEADERS = sys/*.h diff --git a/zfs.spec.in b/zfs.spec.in index db486693fa..3895123e59 100644 --- a/zfs.spec.in +++ b/zfs.spec.in @@ -85,7 +85,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) -%doc AUTHORS ChangeLog COPYING COPYRIGHT DISCLAIMER GIT +%doc AUTHORS ChangeLog COPYING DISCLAIMER GIT %doc OPENSOLARIS.LICENSE README TODO ZFS.RELEASE %{_sbindir}/* %{_libdir}/* @@ -94,6 +94,7 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root) %{kdir}/include/zfs/* +%{_includedir}/* %post if [ -f /boot/System.map-%{kver} ]; then