BuildRequires: perl-base
BuildRequires: rpmbuild(macros) >= 1.159
PreReq: rc-scripts
-Requires(pre): /usr/bin/getgid
Requires(pre): /bin/id
+Requires(pre): /usr/bin/getgid
Requires(pre): /usr/sbin/groupadd
Requires(pre): /usr/sbin/useradd
Requires(postun): /usr/sbin/groupdel
rm -rf $RPM_BUILD_ROOT
%pre
-if [ -n "`getgid zope`" ]; then
- if [ "`getgid zope`" != "112" ]; then
+if [ -n "`/usr/bin/getgid zope`" ]; then
+ if [ "`/usr/bin/getgid zope`" != "112" ]; then
echo "Error: group zope doesn't have gid=112. Correct this before installing zope." 1>&2
exit 1
fi