--- rpms/smeserver-mailman/contribs8/smeserver-mailman.spec 2013/07/13 03:19:27 1.4 +++ rpms/smeserver-mailman/contribs8/smeserver-mailman.spec 2015/09/11 15:10:29 1.11 @@ -1,12 +1,15 @@ -# $Id: smeserver-mailman.spec,v 1.3 2013/07/02 14:16:32 unnilennium Exp $ +# $Id: smeserver-mailman.spec,v 1.10 2013/09/20 15:59:31 unnilennium Exp $ # Authority: gordonr # Name: Gordon Rowell +# avoid brp bytecompile +%define __os_install_post %{nil} + Summary: Mailman configuration for SME server. %define name smeserver-mailman Name: %{name} %define version 1.3.0 -%define release 39 +%define release 46 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -46,11 +49,14 @@ Patch30: smeserver-mailman-1.3.0-locale- Patch31: smeserver-mailman-1.3.0-locale-2011-04-27.patch Patch32: smeserver-mailman-1.3.0-locale-2012-03-20.patch Patch33: smeserver-mailman-1.3.0-BootStrap.patch +Patch34: smeserver-mailman-1.3.0-restarthang.patch +Patch35: smeserver-mailman-1.3.0-locale-2013-07-14.patch +Patch36: smeserver-mailman-1.3.0.bz2411.Backup_mailman.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: e-smith-base -Requires: e-smith-release >= 7.0 -Requires: mailman >= 2.1.5.1-34.rhel4.3sme01 +Requires: e-smith-release >= 8.0 +Requires: mailman >= 2.1.9-20.el5.sme Requires: e-smith-formmagick >= 1.4.0-12 BuildRequires: e-smith-devtools >= 1.13.1-03 Obsoletes: e-smith-mailman @@ -61,7 +67,24 @@ AutoReqProv: no Add Mailman integration to the SME server. %changelog -* Mon Jul 01 2013 JP Pialasse 1.3.0-39.sme +* Fri Sep 11 2015 stephane de Labrusse 1.3.0-46.sme +- Mailman is now added to the backup/restore process [SME: 2411] +- Added smeserver-mailman-1.3.0.bz2411.Backup_mailman.patch + +* Fri Sep 20 2013 JP Pialasse 1.3.0-45.sme +- fix bug [SME: 7787] + +* Thu Sep 19 2013 JP Pialasse 1.3.0-44.sme +- fix case sensitive TRUE to true in smeserver-mailman-1.3.0-restarthang.patch +- wrong path to actions folder fixed +- see [SME: 7845] + +* Sun Jul 14 2013 JP Pialasse 1.3.0-42.sme +- apply locale 2013-07-14 patch + +* Sun Jul 14 2013 JP Pialasse 1.3.0-41.sme +- fix signal-event hang on mailman restart [SME ] +* Mon Jul 01 2013 JP Pialasse 1.3.0-40.sme - fix expanding pyc pyo [SME: 7730] * Mon Jul 01 2013 JP Pialasse 1.3.0-38.sme @@ -323,6 +346,9 @@ Add Mailman integration to the SME serve %patch31 -p1 %patch32 -p1 %patch33 -p1 +%patch34 -p1 +%patch35 -p1 +%patch36 -p1 /bin/rm -r root/opt/mailman @@ -367,8 +393,20 @@ rm -f e-smith-%{version}-filelist # SME8 build to avoid error #/usr/lib/rpm/brp-python-bytecompile +#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc +#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo +#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc +#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo +#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc +#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo #rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc #rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo +#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/mm_cfg.pyc +#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/mm_cfg.pyo +#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/MTA/SME.pyc +#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/MTA/SME.pyo + +# fixe for unwanted listed compiled python files cat %{name}-%{version}-filelist |sed '/py[oc]$/d'>%{name}-%{version}-filelist.tmp cat %{name}-%{version}-filelist.tmp> %{name}-%{version}-filelist #rm -rf %{name}-%{version}-filelist.tmp