Hello community, here is the log from the commit of package zope3 checked in at Wed May 24 03:04:11 CEST 2006. -------- --- zope3/zope3.changes 2006-04-10 18:14:56.000000000 +0200 +++ zope3/zope3.changes 2006-05-22 20:27:49.000000000 +0200 @@ -1,0 +2,6 @@ +Mon May 22 20:04:11 CEST 2006 - lrupp@suse.de + +- add python to PreRequires for %post-script +- use a dynamic gid/uid in the system range + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zope3.spec ++++++ --- /var/tmp/diff_new_pack.6ZQJ6m/_old 2006-05-24 03:03:55.000000000 +0200 +++ /var/tmp/diff_new_pack.6ZQJ6m/_new 2006-05-24 03:03:55.000000000 +0200 @@ -15,11 +15,11 @@ License: Other License(s), see package, Other uncritical OpenSource License Summary: Open Source Web Application Server Group: Productivity/Networking/Web/Frontends -Prereq: /usr/sbin/useradd /usr/sbin/usermod /usr/sbin/groupadd +Prereq: /usr/sbin/useradd /usr/sbin/usermod /usr/sbin/groupadd python Requires: python python-xml Autoreqprov: on Version: 3.1.0 -Release: 12 +Release: 18 Source: Zope-%{version}.tar.bz2 # SUSE specific things: Source1: zope3.logrotate @@ -104,10 +104,24 @@ rm -rf $RPM_BUILD_ROOT %pre -/usr/sbin/groupadd -r zope3 2> /dev/null ||: -/usr/sbin/useradd -r -o -g zope3 -u 64 -s /bin/false -c "Zope" -d /usr/lib/zope3 zope3 2> /dev/null || : -/usr/sbin/usermod -g zope3 zope3 2>/dev/null ||: # in the past, it had daemon as initial group -/usr/sbin/usermod -d /usr/lib/zope3 zope3 +if + getent group zope3 >/dev/null +then + : OK group zope3 already present +else + /usr/sbin/groupadd -r zope3 2>/dev/null || : +fi +if + getent passwd zope3 >/dev/null +then + : OK zope3 user already present + /usr/sbin/usermod -g zope3 zope3 2>/dev/null ||: # in the past, it had daemon as initial group + /usr/sbin/usermod -d /usr/lib/zope3 zope3 +else + /usr/sbin/useradd -r -g zope3 -c "Zope" \ + -d /usr/lib/zope3 -s /bin/false \ + zope3 2>/dev/null || : +fi %{save_rc_config_d_was_in_filelist} %post @@ -161,6 +175,9 @@ %doc Zope/doc/*.txt Zope/doc/{schema,security,skins,style,zcml,zsync} README.SUSE %changelog -n zope3 +* Mon May 22 2006 - lrupp@suse.de +- add python to PreRequires for %%post-script +- use a dynamic gid/uid in the system range * Mon Apr 10 2006 - mkudlvasr@suse.cz - added missingok to logrotate configuration - (bug #105495) * Thu Mar 09 2006 - mkudlvasr@suse.cz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de