Whamcloud - gitweb
b=8080
[fs/lustre-release.git] / build / lustre.spec.in
index 6e56726..4b13804 100644 (file)
@@ -6,7 +6,7 @@ Summary: Lustre File System
 Name: lustre
 Version: %{version}
 Release: @RELEASE@
-Copyright: GPL
+License: GPL
 Group: Utilities/System
 Source: lustre-%{version}.tar.gz
 URL: http://clusterfs.com/
@@ -109,7 +109,7 @@ cat >lustre.files <<EOF
 %attr(-, root, root) /usr/sbin/*
 %attr(-, root, root) /usr/bin/*
 %attr(-, root, root) %{_libdir}/lustre/python
-%attr(-, root, root) /usr/share/lustre/examples
+%attr(-, root, root) /usr/share/lustre/*
 
 %attr(-, root, root) /etc/init.d/lustre
 %attr(-, root, root) /etc/init.d/lustrefs
@@ -123,8 +123,6 @@ cat >lustre.files <<EOF
 
 %attr(-, root, root) /etc/openldap/slapd-lustre.conf
 %attr(-, root, root) /etc/openldap/schema/lustre.schema
-%attr(-, root, root) /usr/share/lustre/lustre2ldif.xsl
-%attr(-, root, root) /usr/share/lustre/top.ldif
 EOF
 if [ -f $RPM_BUILD_ROOT%{_libdir}/liblustre.so ] ; then
   echo '%attr(-, root, root) %{_libdir}/liblustre.a' >>lustre.files
@@ -167,8 +165,8 @@ rm -f %{_libdir}/lustre/python/Lustre/*.pyc
 if [ ! -e /dev/obd ]; then
    mknod /dev/obd c 10 241
 fi
-if [ ! -e /dev/portals ]; then
-   mknod /dev/portals c 10 240
+if [ ! -e /dev/lnet ]; then
+   mknod /dev/lnet c 10 240
 fi
 if [ -f /boot/System.map-%{kversion} ]; then
        depmod -ae -F /boot/System.map-%{kversion} %{kversion} || exit 0
@@ -179,9 +177,6 @@ for ext in .local "" ; do
        f=/etc/modprobe.conf$ext
        if [ -f $f ] && ! grep llite $f >/dev/null 2>/dev/null ; then
                cat >> $f <<EOF
-install kptlrouter modprobe portals ; modprobe --ignore-install kptlrouter
-install ptlrpc modprobe ksocknal ; modprobe --ignore-install ptlrpc
-install llite modprobe lov osc ; modprobe --ignore-install llite
 alias lustre llite
 EOF
                break
@@ -190,9 +185,6 @@ done
 f=/etc/modules.conf
 if [ -f $f ] && ! grep llite $f >/dev/null 2>/dev/null ; then
        cat >> $f <<EOF
-add below kptlrouter portals
-add below ptlrpc ksocknal
-add below llite lov osc
 alias lustre llite
 EOF
 fi