--- rpms/smeserver-mailman/contribs9/smeserver-mailman.spec 2013/11/13 12:55:27 1.1 +++ rpms/smeserver-mailman/contribs9/smeserver-mailman.spec 2015/08/21 17:20:19 1.3 @@ -8,17 +8,17 @@ Summary: Mailman configuration for SME server. %define name smeserver-mailman Name: %{name} -%define version 1.4.0 -%define release 1 +%define version 1.5.0 +%define release 2 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Applications/Internet -Source: %{name}-%{version}.tar.xz +Source: %{name}-%{version}.tar.gz BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: e-smith-base -Requires: e-smith-release >= 8.0 +Requires: e-smith-release >= 9.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 @@ -30,8 +30,11 @@ AutoReqProv: no Add Mailman integration to the SME server. %changelog -* Wed Nov 13 2013 Daniel Berteaud 1.4.0-1.sme -- Rebuild for SME9 +* Fri Aug 21 2015 stephane de Labrusse 1.5.0-2.sme +- Initial release to contribs9 + +* Fri Jun 20 2014 stephane de Labrusse 1.5.0-1.sme +- Initial release to sme9 * Fri Sep 20 2013 JP Pialasse 1.3.0-45.sme - fix bug [SME: 7787] @@ -101,6 +104,9 @@ 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 @@ -114,6 +120,9 @@ 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] @@ -275,7 +284,7 @@ Add Mailman integration to the SME serve %prep %setup -/bin/rm -r root/opt/mailman +#/bin/rm -r root/opt/mailman %build perl createlinks @@ -316,6 +325,21 @@ rm -f e-smith-%{version}-filelist --dir '/var/spool/mailman/qfiles/virgin' 'attr(02770,mailman,mailman)' \ $RPM_BUILD_ROOT > %{name}-%{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