Removed elog_uid/elog_gid

SVN revision: 1159
This commit is contained in:
Stefan Ritt 2005-01-04 19:41:31 +00:00
parent c1209eb2fd
commit 0365fed1bc

View File

@ -1,11 +1,9 @@
# OpenSSH privilege separation requires a user & group ID # OpenSSH privilege separation requires a user & group ID
%define elog_uid 105
%define elog_gid 105
Name: elog Name: elog
Summary: elog is a standalone electronic web logbook Summary: elog is a standalone electronic web logbook
Version: 2.5.4 Version: 2.5.5
Release: 6 Release: 3
Copyright: GPL Copyright: GPL
Group: Applications/Networking Group: Applications/Networking
Source: http://midas.psi.ch/elog/download/elog-%{version}.tar.gz Source: http://midas.psi.ch/elog/download/elog-%{version}.tar.gz
@ -62,8 +60,8 @@ each weblog can be totally different from the rest.
%setup -q %setup -q
%pre %pre
%{_sbindir}/groupadd -r -g %{elog_gid} elog 2>/dev/null || : %{_sbindir}/groupadd -r elog 2>/dev/null || :
%{_sbindir}/useradd -d /no/such/path -s /bin/false -u %{elog_uid} \ %{_sbindir}/useradd -d /no/such/path -s /bin/false \
-g elog -M -r elog 2>/dev/null || : -g elog -M -r elog 2>/dev/null || :
%build %build