SPECS: rlocate.spec - fixed %post and %postun section - build fail...
paszczus
paszczus at pld-linux.org
Mon Aug 22 22:30:00 CEST 2005
Author: paszczus Date: Mon Aug 22 20:30:00 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fixed %post and %postun section
- build failed cause: cc1: Permission denied: opening dependency file scripts/basic/.fixdep.d
---- Files affected:
SPECS:
rlocate.spec (1.29 -> 1.30)
---- Diffs:
================================================================
Index: SPECS/rlocate.spec
diff -u SPECS/rlocate.spec:1.29 SPECS/rlocate.spec:1.30
--- SPECS/rlocate.spec:1.29 Mon Aug 22 22:22:20 2005
+++ SPECS/rlocate.spec Mon Aug 22 22:29:54 2005
@@ -194,17 +194,13 @@
if [ ! -f /var/lib/rlocate/rlocate.db ]; then
echo 'Run "%{_bindir}/updatedb" if you want to make rlocate database immediately.'
fi
+/sbin/chkconfig --add %{name}
+%service %{name} restart
%postun
if [ "$1" = "0" ]; then
%groupremove rlocate
-fi
-
-%post init
-/sbin/chkconfig --add %{name}
-%service %{name} restart
-
-%preun init
+else
if [ "$1" = "0" ]; then
%service -q %{name} stop
/sbin/chkconfig --del %{name}
@@ -255,6 +251,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.30 2005/08/22 20:29:54 paszczus
+- fixed %post and %postun section
+- build failed cause: cc1: Permission denied: opening dependency file scripts/basic/.fixdep.d
+
Revision 1.29 2005/08/22 20:22:20 paszczus
- fixed md5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/rlocate.spec?r1=1.29&r2=1.30&f=u
More information about the pld-cvs-commit
mailing list