1 |
# $Id: smeserver-mailman.spec,v 1.8 2016/03/09 08:39:06 unnilennium Exp $ |
# $Id: smeserver-mailman.spec,v 1.2 2021/02/22 17:02:30 jpp Exp $ |
2 |
# Authority: gordonr |
# Authority: gordonr |
3 |
# Name: Gordon Rowell |
# Name: Gordon Rowell |
4 |
|
|
9 |
%define name smeserver-mailman |
%define name smeserver-mailman |
10 |
Name: %{name} |
Name: %{name} |
11 |
%define version 1.5.0 |
%define version 1.5.0 |
12 |
%define release 7 |
%define release 8 |
13 |
Version: %{version} |
Version: %{version} |
14 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
15 |
License: GPL |
License: GPL |
32 |
Add Mailman integration to the SME server. |
Add Mailman integration to the SME server. |
33 |
|
|
34 |
%changelog |
%changelog |
35 |
|
* Mon Feb 22 2021 JP Pialasse <tests@pialasse.com> 1.5.0-8.sme |
36 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
37 |
|
by assuming the date is correct and changing the weekday. |
38 |
|
Thu May 21 2008 --> Thu May 15 2008 or Wed May 21 2008 or Thu May 22 2008 or .... |
39 |
|
- allow build on SME10 |
40 |
|
|
41 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.5.0-7.sme |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.5.0-7.sme |
42 |
- apply locale 2016-03-09 patch |
- apply locale 2016-03-09 patch |
43 |
|
|
120 |
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-23 |
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-23 |
121 |
- Apply 27 Jun 2008 locale patch |
- Apply 27 Jun 2008 locale patch |
122 |
|
|
123 |
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-22 |
* Wed May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-22 |
124 |
|
Thu May 21 2008 --> Thu May 15 2008 or Wed May 21 2008 or Thu May 22 2008 or .... |
125 |
- Apply 21 May 2008 locale patch |
- Apply 21 May 2008 locale patch |
126 |
- Fixed version number in previous changelog entry |
- Fixed version number in previous changelog entry |
127 |
|
|
342 |
--dir '/var/spool/mailman/qfiles/virgin' 'attr(02770,mailman,mailman)' \ |
--dir '/var/spool/mailman/qfiles/virgin' 'attr(02770,mailman,mailman)' \ |
343 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
344 |
|
|
345 |
# SME8 build to avoid error |
# SME10 to avoid error |
346 |
#/usr/lib/rpm/brp-python-bytecompile |
#/usr/lib/rpm/brp-python-bytecompile |
347 |
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
# fix for unwanted listed compiled python files |
348 |
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
# those pyc and pyo gets added by default by genfilelist, so need to filtering them out when we disable byte compile. |
349 |
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
#"/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc" |
350 |
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
#"/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo" |
351 |
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
#/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
352 |
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
cat %{name}-%{version}-filelist |sed -r '/py[oc]"?$/d'>%{name}-%{version}-filelist.tmp |
|
#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 |
|
353 |
cat %{name}-%{version}-filelist.tmp> %{name}-%{version}-filelist |
cat %{name}-%{version}-filelist.tmp> %{name}-%{version}-filelist |
|
#rm -rf %{name}-%{version}-filelist.tmp |
|
354 |
|
|
355 |
%clean |
%clean |
356 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |