1 |
# $Id: smeserver-mailman.spec,v 1.3 2021/02/22 17:16:35 jpp Exp $ |
# $Id: smeserver-mailman.spec,v 1.4 2021/06/03 07:49:13 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 9 |
%define release 10 |
13 |
Version: %{version} |
Version: %{version} |
14 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
15 |
License: GPL |
License: GPL |
27 |
AutoReqProv: no |
AutoReqProv: no |
28 |
Patch0: smeserver-mailman-1.5.0.bz2411.Backup_mailman.patch |
Patch0: smeserver-mailman-1.5.0.bz2411.Backup_mailman.patch |
29 |
Patch1: smeserver-mailman-1.5.0-locale-2016-03-09.patch |
Patch1: smeserver-mailman-1.5.0-locale-2016-03-09.patch |
30 |
|
Patch2: smeserver-mailman-1.5.0-locale-2021-08-22.patch |
31 |
|
|
32 |
%description |
%description |
33 |
Add Mailman integration to the SME server. |
Add Mailman integration to the SME server. |
34 |
|
|
35 |
%changelog |
%changelog |
36 |
|
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.5.0-10.sme |
37 |
|
- apply locale 2021-08-22 patch |
38 |
|
|
39 |
* Thu Jun 03 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-9.sme |
* Thu Jun 03 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-9.sme |
40 |
- fix conflicting folders [SME: 11278] |
- fix conflicting folders [SME: 11278] |
41 |
|
|
306 |
%setup |
%setup |
307 |
%patch0 -p1 |
%patch0 -p1 |
308 |
%patch1 -p1 |
%patch1 -p1 |
309 |
|
%patch2 -p1 |
310 |
|
|
311 |
#/bin/rm -r root/opt/mailman |
#/bin/rm -r root/opt/mailman |
312 |
|
|
322 |
mkdir -p root/var/spool/mailman/qfiles/$dir |
mkdir -p root/var/spool/mailman/qfiles/$dir |
323 |
done |
done |
324 |
|
|
|
|
|
325 |
%install |
%install |
326 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
327 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
351 |
# --dir '/usr/lib/mailman/Mailman' 'attr(02775,root,mailman)' \ |
# --dir '/usr/lib/mailman/Mailman' 'attr(02775,root,mailman)' \ |
352 |
# --dir '/usr/lib/mailman/Mailman/MTA' 'attr(02775,root,mailman)' \ |
# --dir '/usr/lib/mailman/Mailman/MTA' 'attr(02775,root,mailman)' \ |
353 |
|
|
|
|
|
354 |
# SME10 to avoid error |
# SME10 to avoid error |
355 |
#/usr/lib/rpm/brp-python-bytecompile |
#/usr/lib/rpm/brp-python-bytecompile |
356 |
# fix for unwanted listed compiled python files |
# fix for unwanted listed compiled python files |