SPECS: mailman.spec - add -daemonize-fds.patch - remove .po and .py files; ...

glen glen at pld-linux.org
Fri Mar 6 14:15:22 CET 2009


Author: glen                         Date: Fri Mar  6 13:15:22 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add -daemonize-fds.patch
- remove .po and .py files; rel 4

---- Files affected:
SPECS:
   mailman.spec (1.151 -> 1.152) 

---- Diffs:

================================================================
Index: SPECS/mailman.spec
diff -u SPECS/mailman.spec:1.151 SPECS/mailman.spec:1.152
--- SPECS/mailman.spec:1.151	Tue Dec  2 14:37:27 2008
+++ SPECS/mailman.spec	Fri Mar  6 14:15:16 2009
@@ -1,10 +1,9 @@
 # $Revision$, $Date$
-# TODO:
-# - are *.po files (beside *.mo) needed in binary package?
-
+#
+# Conditional build:
 %bcond_with	umbrella_hack	# break anonimization (for use with moderated umbrella list of moderated lists)
 
-%define		rel	3
+%define		rel	4
 Summary:	The GNU Mailing List Management System
 Summary(es.UTF-8):	El Sistema de Mantenimiento de listas de GNU
 Summary(pl.UTF-8):	System Zarządzania Listami Pocztowymi GNU
@@ -35,6 +34,7 @@
 Patch9:		%{name}-umbrella-anon-hack.patch
 Patch10:	%{name}-python2.6.patch
 Patch11:	%{name}-python2.6-exceptions-quickfix.patch
+Patch12:	%{name}-daemonize-fds.patch
 URL:		http://www.list.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -176,6 +176,7 @@
 %{?with_umbrella_hack:%patch9 -p1}
 %patch10 -p1
 %patch11 -p1
+%patch12 -p1
 
 # Conflicts with python built-in email package
 sed -i -e 's,EMAILPKG=,#EMAILPKG=,g' misc/Makefile.in
@@ -261,11 +262,14 @@
 # regenerate pyc files with proper paths
 find $RPM_BUILD_ROOT -name '*.pyc' | xargs rm -f
 %py_comp $RPM_BUILD_ROOT
+%py_postclean %{_libdir}/mailman
 
 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/mm_cfg.pyc
 rm -f $RPM_BUILD_ROOT%{_mandir}/README-mailman-man-pages
 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.arch.8
 
+rm -f $RPM_BUILD_ROOT%{_libdir}/mailman/messages/*/LC_MESSAGES/*.po
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -300,7 +304,7 @@
 	chown mailman:mailman %{_sysconfdir}/aliases.db
 	chmod 660 %{_sysconfdir}/aliases{,.db}
 fi
-%service mailman restart "mailman qrunner daemon"
+%service mailman restart "Mailman Qrunner Daemon"
 
 %preun
 if [ "$1" = "0" ]; then
@@ -478,6 +482,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.152  2009/03/06 13:15:16  glen
+- add -daemonize-fds.patch
+- remove .po and .py files; rel 4
+
 Revision 1.151  2008/12/02 13:37:27  glen
 - release 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mailman.spec?r1=1.151&r2=1.152&f=u



More information about the pld-cvs-commit mailing list