--- rpms/e-smith/sme9/e-smith.spec 2013/05/07 15:01:16 1.4 +++ rpms/e-smith/sme9/e-smith.spec 2013/05/19 15:55:33 1.5 @@ -1,9 +1,9 @@ -# $Id: e-smith.spec,v 1.3 2013/03/09 22:31:35 slords Exp $ +# $Id: e-smith.spec,v 1.4 2013/05/07 15:01:16 wellsi Exp $ Summary: e-smith server and gateway Name: e-smith %define version 5.4.0 -%define release 4 +%define release 5 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -15,6 +15,9 @@ Requires(pre): /usr/sbin/useradd AutoReqProv: no %changelog +* Wed May 19 2013 Ian Wells 5.4.0-5.sme +- Update the full names of users added in %pre [SME: 3550] + * Sun May 05 2013 Ian Wells 5.4.0-4.sme - Fix uid and gid to be the same for the users added in %pre [SME: 7547] - Changed Prereq to Requires(pre) as Prereq is deprecated @@ -98,24 +101,30 @@ can work. Contents are now included in e /usr/sbin/groupadd \ -g 102 -o www 2>/dev/null || : /usr/sbin/useradd \ - -u 102 -g 102 -o -c 'e-smith web server' -d /home/e-smith \ + -u 102 -g 102 -o -c 'SME Server web server' -d /home/e-smith \ -G shared -M -s /bin/false www || : /usr/sbin/groupadd \ + -g 102 -o apache 2>/dev/null || : +/usr/sbin/useradd \ + -u 102 -g 102 -o -c 'Apache' -d /var/www \ + -M -s /sbin/nologin apache || : +/usr/sbin/groupadd \ -g 101 -o admin 2>/dev/null || : /usr/sbin/useradd \ - -u 101 -g 101 -c 'e-smith administrator' -d /home/e-smith \ + -u 101 -g 101 -c 'SME Server administrator' -d /home/e-smith \ -G shared,root,www -M -s /sbin/e-smith/console admin || : /usr/sbin/groupadd \ -g 103 -o public 2>/dev/null || : /usr/sbin/useradd \ - -u 103 -g 103 -c 'e-smith guest' -d /home/e-smith \ + -u 103 -g 103 -c 'SME Server guest' -d /home/e-smith \ -G shared -M -s /bin/false public || : /usr/sbin/groupadd \ -g 1002 -o smelog 2>/dev/null || : /usr/sbin/useradd \ - -u 1002 -g 1002 -c 'sme log user' -d /var/log/smelog \ + -u 1002 -g 1002 -c 'SME Server log user' -d /var/log/smelog \ -M -s /bin/false smelog || : + %clean rm -rf $RPM_BUILD_ROOT