rpms/zope/FC-4 zope.spec,1.10,1.11

Aurelien Bompard (abompard) fedora-extras-commits at redhat.com
Sun Jun 5 14:49:12 UTC 2005


Author: abompard

Update of /cvs/extras/rpms/zope/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1749/FC-4

Modified Files:
	zope.spec 
Log Message:
- don't remove the zope user on erase


Index: zope.spec
===================================================================
RCS file: /cvs/extras/rpms/zope/FC-4/zope.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- zope.spec	8 May 2005 17:08:57 -0000	1.10
+++ zope.spec	5 Jun 2005 14:49:10 -0000	1.11
@@ -13,7 +13,7 @@
 Name:    zope
 Summary: Web application server for flexible content management applications
 Version: 2.7.6
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: ZPL
 Group: 	 System Environment/Daemons
 URL:     http://www.zope.org/
@@ -36,7 +36,6 @@
 Requires(pre): /usr/sbin/useradd
 Requires(post): /sbin/chkconfig
 Requires(preun): /sbin/chkconfig, /sbin/service
-Requires(postun): /usr/sbin/userdel
 
 %description
 Zope is an application server framework that enables developers to quickly
@@ -143,12 +142,6 @@
 fi
 
 
-%postun
-if [ $1 -eq 0 ]; then
-  /usr/sbin/userdel %{zope_user} 2>/dev/null || :
-fi
-
-
 
 %files 
 %defattr(-, root, root, -)
@@ -184,6 +177,10 @@
 
 
 %changelog
+* Sun Jun 05 2005 Aurelien Bompard <gauret[AT]free.fr> 2.7.6-2
+- don't remove the zope user un postun (to keep the Data.fs to the
+  correct owner after removal)
+
 * Sun May 08 2005 Aurelien Bompard <gauret[AT]free.fr> 2.7.6-1%{?dist}
 - version 2.7.6
 - use disttag




More information about the fedora-extras-commits mailing list