rpms/fcron/devel fcron.README, 1.1, 1.2 fcron.LISEZMOI, 1.1, 1.2 fcron.spec, 1.6, 1.7

Alain Portal (dionysos) fedora-extras-commits at redhat.com
Thu Oct 12 07:46:24 UTC 2006


Author: dionysos

Update of /cvs/extras/rpms/fcron/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28802

Modified Files:
	fcron.README fcron.LISEZMOI fcron.spec 
Log Message:
Don't remove fcron user when erasing package.


Index: fcron.README
===================================================================
RCS file: /cvs/extras/rpms/fcron/devel/fcron.README,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- fcron.README	19 Jun 2006 11:55:08 -0000	1.1
+++ fcron.README	12 Oct 2006 07:46:24 -0000	1.2
@@ -7,4 +7,8 @@
 
   fcrontab /etc/crontab
 
-This should be done everytime the file is modified.
\ No newline at end of file
+This should be done everytime the file is modified.
+
+To remove definitively the fcron package, you'll have to remove the fcron
+user by hand, and the /var/spool/fcron directory which contains the
+binary fcrontabs.


Index: fcron.LISEZMOI
===================================================================
RCS file: /cvs/extras/rpms/fcron/devel/fcron.LISEZMOI,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- fcron.LISEZMOI	19 Jun 2006 11:55:08 -0000	1.1
+++ fcron.LISEZMOI	12 Oct 2006 07:46:24 -0000	1.2
@@ -9,4 +9,8 @@
 
   fcrontab /etc/crontab
 
-et de recommencer chaque fois que vous modifiez ce fichier.
\ No newline at end of file
+et de recommencer chaque fois que vous modifiez ce fichier.
+
+Enfin, si l'administrateur souhaite désintaller définitivement ce paquet,
+il devra supprimer à la main l'utilisateur fcron et le répertoire
+/var/spool/fcron qui contient entre autres les tables fcrontab binaires.


Index: fcron.spec
===================================================================
RCS file: /cvs/extras/rpms/fcron/devel/fcron.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- fcron.spec	1 Sep 2006 23:22:09 -0000	1.6
+++ fcron.spec	12 Oct 2006 07:46:24 -0000	1.7
@@ -1,6 +1,6 @@
 Name:		fcron
 Version:	3.0.1
-Release:	16%{?dist}
+Release:	17%{?dist}
 Summary:	A task scheduler
 Summary(fr):	Un ordonnanceur de tâches
 Summary(it):	Uno schedulatore di processi
@@ -30,7 +30,6 @@
 Requires(pre):    /usr/sbin/useradd
 Requires(post):   /sbin/chkconfig, /sbin/service
 Requires(preun):  /sbin/chkconfig, /sbin/service
-Requires(postun): /usr/sbin/userdel
 
 %description
 Fcron is a scheduler. It aims at replacing Vixie Cron, so it implements most
@@ -130,16 +129,15 @@
   %{__mv} tmp $i
 done
 
-# rpmbuild insist that %ghost files exist?
+# rpmbuild insist that %ghost files exist
 %{__install} -d %{buildroot}%{_localstatedir}/run/
 touch %{buildroot}%{_localstatedir}/run/fcron.pid
-touch %{buildroot}%{_localstatedir}/run/fcron.fifo
 
 
 %pre
 if [ "$1" = "1" ]
 then
-  /usr/sbin/useradd -c "Fcron system user" -r fcron -d %{_localstatedir}/spool/fcron -s /bin/true
+  /usr/sbin/useradd -c "Fcron system user" -r fcron -d %{_localstatedir}/spool/fcron -s /bin/true &>/dev/null || :
 fi
 
 %post
@@ -153,13 +151,6 @@
   fi
 fi
 
-%postun
-if [ "$1" = "0" ]
-  then
-  # Remove user fcron
-  /usr/sbin/userdel fcron
-fi
-
 %preun
 if [ "$1" = "0" ]
 then
@@ -193,9 +184,13 @@
 %{_sbindir}/fcron-update-crontabs
 %dir %attr(770,fcron,fcron) %{_localstatedir}/spool/fcron
 %ghost %{_localstatedir}/run/fcron.pid
-%ghost %{_localstatedir}/run/fcron.fifo
 
 %changelog
+* Fri Oct 12 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 3.0.1-17
+  - Don't remove frcon user when erasing package
+  - Update doc accordingly
+  - Don't ghost fcron.fifo
+
 * Fri Sep  1 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 3.0.1-16
   - FE6 rebuild
 




More information about the fedora-extras-commits mailing list