SPECS (AC-branch): rc-scripts.spec - svn updates

glen glen at pld-linux.org
Fri Sep 22 01:18:48 CEST 2006


Author: glen                         Date: Thu Sep 21 23:18:48 2006 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- svn updates

---- Files affected:
SPECS:
   rc-scripts.spec (1.235.2.2 -> 1.235.2.3) 

---- Diffs:

================================================================
Index: SPECS/rc-scripts.spec
diff -u SPECS/rc-scripts.spec:1.235.2.2 SPECS/rc-scripts.spec:1.235.2.3
--- SPECS/rc-scripts.spec:1.235.2.2	Sun Sep 17 16:38:11 2006
+++ SPECS/rc-scripts.spec	Fri Sep 22 01:18:43 2006
@@ -11,15 +11,15 @@
 Summary(tr):	inittab ve /etc/rc.d dosyalarý
 Name:		rc-scripts
 Version:	0.4.0.27
-Release:	4
+Release:	4.11
 License:	GPL
 Group:		Base
-Source0:	ftp://ftp1.pld-linux.org/people/arekm/software/%{name}-%{version}.tar.gz
-# Source0-md5:	5fbf2907a207945e8c701e86399cd40b
+#Source0:	ftp://ftp1.pld-linux.org/people/arekm/software/%{name}-%{version}.tar.gz
+Source0:	%{name}-%{version}.tar.gz
+# Source0-md5:	00087930cdd7dae9456588062b4f2a7e
 Patch0:		%{name}-dev_alias.patch
 Patch1:		%{name}-exclude_rm_cups.patch
 Patch2:		%{name}-fuse.patch
-Patch3:		http://glen.alkohol.ee/pld/%{name}-bug-5795.patch
 URL:		http://svn.pld-linux.org/cgi-bin/viewsvn/rc-scripts/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -100,7 +100,6 @@
 %{?with_devalias:%patch0 -p0}
 %patch1 -p1
 %patch2 -p1
-%patch3 -p2
 
 %build
 %{__aclocal}
@@ -124,7 +123,7 @@
 done
 
 for i in 2 3 4 5; do
-	ln -s ../rc.local $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S99local
+	ln -s ../init.d/local $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S99local
 	ln -s ../init.d/network $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S10network
 	ln -s ../init.d/allowlogin $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S99allowlogin
 	ln -s ../init.d/timezone $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/S10timezone
@@ -153,6 +152,7 @@
 	ln -s ../init.d/network $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K90network
 	ln -s ../init.d/allowlogin $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K01allowlogin
 	ln -s ../init.d/sys-chroots $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K01sys-chroots
+	ln -s ../init.d/local $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K01local
 done
 
 > $RPM_BUILD_ROOT/var/log/dmesg
@@ -163,6 +163,9 @@
 # in static-routes can be also rules:
 ln -s static-routes $RPM_BUILD_ROOT/etc/sysconfig/static-rules
 
+# msg cache
+touch $RPM_BUILD_ROOT/etc/rc.d/.rc-scripts.cache
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -175,9 +178,11 @@
 	mv -f /etc/inittab.rpmsave /etc/inittab
 fi
 touch /var/log/dmesg
-chmod 000 /var/log/dmesg
 chown root:root /var/log/dmesg
 chmod 640 /var/log/dmesg
+touch /etc/rc.d/.rc-scripts.cache
+chmod 644 /etc/rc.d/.rc-scripts.cache
+chown root:root /etc/rc.d/.rc-scripts.cache
 
 # move network interfaces description files to new location
 %triggerpostun -- initscripts
@@ -202,6 +207,7 @@
 %attr(754,root,root) /etc/rc.d/init.d/allowlogin
 %attr(754,root,root) /etc/rc.d/init.d/cpusets
 %attr(754,root,root) /etc/rc.d/init.d/killall
+%attr(754,root,root) /etc/rc.d/init.d/local
 %attr(754,root,root) /etc/rc.d/init.d/network
 %attr(754,root,root) /etc/rc.d/init.d/random
 %attr(754,root,root) /etc/rc.d/init.d/single
@@ -214,10 +220,10 @@
 %attr(754,root,root) /etc/rc.d/rc.init
 %attr(754,root,root) /etc/rc.d/rc.sysinit
 %attr(754,root,root) /etc/rc.d/rc.shutdown
-
 %attr(754,root,root) /etc/rc.d/rc?.d/K??allowlogin
 %attr(754,root,root) /etc/rc.d/rc?.d/K??cpusets
 %attr(754,root,root) /etc/rc.d/rc?.d/K??killall
+%attr(754,root,root) /etc/rc.d/rc?.d/K??local
 %attr(754,root,root) /etc/rc.d/rc?.d/K??network
 %attr(754,root,root) /etc/rc.d/rc?.d/K??random
 %attr(754,root,root) /etc/rc.d/rc?.d/K??single
@@ -232,6 +238,8 @@
 %attr(754,root,root) /etc/rc.d/rc?.d/S??sys-chroots
 %attr(754,root,root) /etc/rc.d/rc?.d/S??timezone
 
+%ghost /etc/rc.d/.rc-scripts.cache
+
 %attr(755,root,root) /etc/profile.d/lang.*sh
 
 %attr(755,root,root) %{_bindir}/doexec
@@ -314,6 +322,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.235.2.3  2006/09/21 23:18:43  glen
+- svn updates
+
 Revision 1.235.2.2  2006/09/17 14:38:11  glen
 - %files sorting
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/rc-scripts.spec?r1=1.235.2.2&r2=1.235.2.3&f=u



More information about the pld-cvs-commit mailing list