1 |
# $Id: smeserver-mailman.spec,v 1.2 2013/07/02 02:52:37 unnilennium Exp $ |
# $Id: smeserver-mailman.spec,v 1.4 2013/07/13 03:19:27 unnilennium Exp $ |
2 |
# Authority: gordonr |
# Authority: gordonr |
3 |
# Name: Gordon Rowell |
# Name: Gordon Rowell |
4 |
|
|
5 |
|
# avoid brp bytecompile |
6 |
|
%define __os_install_post %{nil} |
7 |
|
|
8 |
Summary: Mailman configuration for SME server. |
Summary: Mailman configuration for SME server. |
9 |
%define name smeserver-mailman |
%define name smeserver-mailman |
10 |
Name: %{name} |
Name: %{name} |
11 |
%define version 1.3.0 |
%define version 1.3.0 |
12 |
%define release 38 |
%define release 40 |
13 |
Version: %{version} |
Version: %{version} |
14 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
15 |
License: GPL |
License: GPL |
64 |
Add Mailman integration to the SME server. |
Add Mailman integration to the SME server. |
65 |
|
|
66 |
%changelog |
%changelog |
67 |
* Mon Jul 01 2013 JP Pialasse <tests@pialasse.com> 1.3.0-37.sme |
* Mon Jul 01 2013 JP Pialasse <tests@pialasse.com> 1.3.0-40.sme |
68 |
|
- fix expanding pyc pyo [SME: 7730] |
69 |
|
|
70 |
|
* Mon Jul 01 2013 JP Pialasse <tests@pialasse.com> 1.3.0-38.sme |
71 |
- import to sme8 buildsys |
- import to sme8 buildsys |
72 |
- fix bootstrap hang [SME: 6693] |
- fix bootstrap hang [SME: 6693] |
73 |
|
|
369 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
370 |
|
|
371 |
# SME8 build to avoid error |
# SME8 build to avoid error |
372 |
/usr/lib/rpm/brp-python-bytecompile |
#/usr/lib/rpm/brp-python-bytecompile |
373 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
374 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
375 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
376 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
377 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
378 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
379 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
380 |
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
381 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/mm_cfg.pyc |
382 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/mm_cfg.pyo |
383 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/MTA/SME.pyc |
384 |
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/MTA/SME.pyo |
385 |
|
|
386 |
|
# fixe for unwanted listed compiled python files |
387 |
|
cat %{name}-%{version}-filelist |sed '/py[oc]$/d'>%{name}-%{version}-filelist.tmp |
388 |
|
cat %{name}-%{version}-filelist.tmp> %{name}-%{version}-filelist |
389 |
|
#rm -rf %{name}-%{version}-filelist.tmp |
390 |
|
|
391 |
%clean |
%clean |
392 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |