--- rpms/smeserver-mailman/contribs9/smeserver-mailman.spec 2015/08/21 17:20:19 1.3 +++ rpms/smeserver-mailman/contribs9/smeserver-mailman.spec 2015/09/07 17:27:21 1.5 @@ -1,4 +1,4 @@ -# $Id: smeserver-mailman.spec,v 1.10 2013/09/20 15:59:31 unnilennium Exp $ +# $Id: smeserver-mailman.spec,v 1.4 2015/08/21 17:26:10 stephdl Exp $ # Authority: gordonr # Name: Gordon Rowell @@ -9,7 +9,7 @@ Summary: Mailman configuration for SME s %define name smeserver-mailman Name: %{name} %define version 1.5.0 -%define release 2 +%define release 4 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -30,8 +30,12 @@ AutoReqProv: no Add Mailman integration to the SME server. %changelog -* Fri Aug 21 2015 stephane de Labrusse 1.5.0-2.sme -- Initial release to contribs9 +* Fri Aug 21 2015 stephane de Labrusse 1.5.0-4.sme +- mailman wants that the group apache appears before the www group in /etc/group +- script added in %pre to change that order. [SME: 8453] + +* Fri Aug 21 2015 stephane de Labrusse 1.5.0-3.sme +- Initial release to contribs9 [SME: 8453] * Fri Jun 20 2014 stephane de Labrusse 1.5.0-1.sme - Initial release to sme9 @@ -104,9 +108,6 @@ Add Mailman integration to the SME serve * Thu May 21 2008 Jonathan Martens 1.3.6-22 - Apply 21 May 2008 locale patch - Fixed version number in previous changelog entry -* Fri Aug 21 2015 stephane de Labrusse 1.5.0-2.sme -- Initial release to contribs9 - * Mon May 5 2008 Jonathan Martens 1.3.6-21 - Apply 5 May 2008 locale patch @@ -120,9 +121,6 @@ Add Mailman integration to the SME serve * Wed Apr 23 2008 Jonathan Martens 1.3.0-18 - Added 23 April 2008 locale patch - Fixed changelog -* Fri Aug 21 2015 stephane de Labrusse 1.5.0-2.sme -- Initial release to contribs9 - * Wed Apr 23 2008 Daniel B. 1.3.0-17 - Fix path for the archives [SME: 4252] @@ -356,6 +354,11 @@ rm -rf $RPM_BUILD_ROOT /sbin/e-smith/create-system-user mailman 41 \ "Mailman user" /usr/lib/mailman /bin/false +#mailman wants that the apache group appears before the www group +WWW=$(sed -n '/^www/p' /etc/group) +sed -i '/^www/d' /etc/group +echo $WWW >> /etc/group + %post %preun