packages: archivemail/archivemail.spec - include tests
glen
glen at pld-linux.org
Wed Oct 28 11:19:01 CET 2009
Author: glen Date: Wed Oct 28 10:19:01 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- include tests
---- Files affected:
packages/archivemail:
archivemail.spec (1.23 -> 1.24)
---- Diffs:
================================================================
Index: packages/archivemail/archivemail.spec
diff -u packages/archivemail/archivemail.spec:1.23 packages/archivemail/archivemail.spec:1.24
--- packages/archivemail/archivemail.spec:1.23 Wed Oct 28 10:28:37 2009
+++ packages/archivemail/archivemail.spec Wed Oct 28 11:18:56 2009
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # build without tests
+
Summary: Archive and compress old email
Summary(pl.UTF-8): Archiwizowanie starej poczty
Name: archivemail
@@ -70,6 +74,11 @@
%build
%{__python} setup.py build
+%if %{with tests}
+ln -sf archivemail archivemail.py
+%{__python} test_archivemail.py
+%endif
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_mandir}
@@ -95,6 +104,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.24 2009/10/28 10:18:56 glen
+- include tests
+
Revision 1.23 2009/10/28 09:28:37 glen
- In python 2.5, mailbox objects evaluate to false when empty.
Avoid an assertian when this happens. Closes Debian: #476806
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/archivemail/archivemail.spec?r1=1.23&r2=1.24&f=u
More information about the pld-cvs-commit
mailing list