Hello community, here is the log from the commit of package capisuite checked in at Thu Aug 16 14:05:07 CEST 2007. -------- --- capisuite/capisuite.changes 2007-05-24 01:31:52.000000000 +0200 +++ /mounts/work_src_done/STABLE/capisuite/capisuite.changes 2007-08-16 13:09:26.650329000 +0200 @@ -1,0 +2,5 @@ +Thu Aug 16 13:08:35 CEST 2007 - kkeil@suse.de + +- add mandatory DATE header to email (#212564) + +------------------------------------------------------------------- New: ---- capisuite-0.4.5-date.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ capisuite.spec ++++++ --- /var/tmp/diff_new_pack.O18674/_old 2007-08-16 14:04:22.000000000 +0200 +++ /var/tmp/diff_new_pack.O18674/_new 2007-08-16 14:04:22.000000000 +0200 @@ -12,11 +12,11 @@ Name: capisuite BuildRequires: capi4linux capi4linux-devel gcc-c++ libtiff-devel libxml2-devel python-devel sfftobmp -License: GNU General Public License (GPL) +License: GPL v2 or later Group: Hardware/ISDN Autoreqprov: on Version: 0.4.5 -Release: 76 +Release: 105 %define pyver %(python -c 'import sys; print sys.version[:3]') Requires: sfftobmp sox tiff ghostscript-library python >= %pyver, python < %{pyver}.99 Summary: ISDN Telecommunication Suite Providing Fax and Voice Services @@ -24,6 +24,7 @@ Patch0: capisuite-%{version}-capi4linux_v3.diff Patch1: capisuite-%{version}-python-v2.5.diff Patch2: capisuite-%{version}-warnings.diff +Patch3: capisuite-%{version}-date.diff URL: http://www.capisuite.de BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %insserv_prereq @@ -49,6 +50,7 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 aclocal autoheader autoconf @@ -101,6 +103,8 @@ %doc %{_mandir}/man8/capisuite.8.gz %changelog +* Thu Aug 16 2007 - kkeil@suse.de +- add mandatory DATE header to email (#212564) * Thu May 24 2007 - ro@suse.de - added capi4linux-devel to buildrequires * Tue Nov 21 2006 - kkeil@suse.de ++++++ capisuite-0.4.5-date.diff ++++++ Index: capisuite-0.4.5/scripts/cs_helpers.pyin =================================================================== --- capisuite-0.4.5.orig/scripts/cs_helpers.pyin +++ capisuite-0.4.5/scripts/cs_helpers.pyin @@ -166,11 +166,12 @@ def uniqueName(directory,basename,suffix # @param text a string containing the text of the first part of the mail # @param attachment name of the file to send as attachment def sendMIMEMail(mail_from,mail_to,mail_subject,mail_type,text,attachment): - import email.MIMEBase,email.MIMEText,email.MIMEAudio,email.Encoders,encodings.ascii,smtplib,popen2,capisuite + import email.MIMEBase,email.MIMEText,email.MIMEAudio,email.Encoders,encodings.ascii,smtplib,popen2,capisuite,datetime msg = email.MIMEBase.MIMEBase("multipart","mixed") msg['Subject']=mail_subject msg['From']=mail_from msg['To']=mail_to + msg['Date']=datetime.datetime.utcnow().strftime("%a, %d %b %Y %H:%M:%S +0000") msg.preamble = 'This is a Multipart-MIME-message. Please use a capable mailer.\n' msg.epilogue = '' # To guarantee the message ends with a newline ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org