Author: glen                         Date: Fri Jul 29 15:45:29 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added dependencies
- rc script moved to SOURCES

---- Files affected:
SPECS:
   vserver-initng.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/vserver-initng.spec
diff -u SPECS/vserver-initng.spec:1.1 SPECS/vserver-initng.spec:1.2
--- SPECS/vserver-initng.spec:1.1       Fri Jul 29 00:39:03 2005
+++ SPECS/vserver-initng.spec   Fri Jul 29 17:45:24 2005
@@ -1,11 +1,17 @@
 # $Revision$, $Date$
 Summary:       initng on vserver
 Name:          vserver-initng
-Version:       0.0000.1
-Release:       0.6
+Version:       0.0000.2
+Release:       0.4
 License:       GPL
 Group:         Base
+Source0:       %{name}-rc
 Requires:      initng
+Requires:      mount
+Requires:      util-linux
+Requires:      net-tools
+Requires:      hdparm
+Requires:      module-init-tools
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _exec_prefix    /
@@ -21,24 +27,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/var/{run/netreport,log}
-
-for i in 0 1 2 3 4 5 6; do
-       install -d $RPM_BUILD_ROOT/etc/rc.d/rc$i.d
-done
-
-cat <<'EOF' > $RPM_BUILD_ROOT/etc/rc.d/rc
-#!/bin/sh
-# avoid being interrupted by child or keyboard
-trap : INT QUIT TSTP
-
-echo "args: $#:$@"
-runlevel="$1"
-if [ "$runlevel" = 3 ]; then
-       exec /sbin/initng --i_am_init &
-       echo "initng execution failed!"
-fi
-EOF
+install -d $RPM_BUILD_ROOT/etc/rc.d
+install %{SOURCE0} $RPM_BUILD_ROOT/etc/rc.d/rc
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -72,6 +62,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/07/29 15:45:24  glen
+- added dependencies
+- rc script moved to SOURCES
+
 Revision 1.1  2005/07/28 22:39:03  glen
 - new
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/vserver-initng.spec?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to