Hello community, here is the log from the commit of package spamassassin checked in at Wed Nov 15 18:12:01 CET 2006. -------- --- spamassassin/spamassassin.changes 2006-10-09 15:13:44.000000000 +0200 +++ /mounts/work_src_done/STABLE/spamassassin/spamassassin.changes 2006-11-15 08:51:20.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Nov 15 08:50:57 CET 2006 - varkoly@suse.de + +- fixing bug: 215722 – BUG in archive PgSQL.pm (SpamAssassin) + +------------------------------------------------------------------- New: ---- patch-PgSQL ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spamassassin.spec ++++++ --- /var/tmp/diff_new_pack.J24Aob/_old 2006-11-15 18:00:16.000000000 +0100 +++ /var/tmp/diff_new_pack.J24Aob/_new 2006-11-15 18:00:16.000000000 +0100 @@ -12,11 +12,11 @@ Name: spamassassin BuildRequires: -icecream perl-Digest-SHA1 perl-HTML-Parser -License: Apache +License: The Apache Software License Group: Productivity/Networking/Email/Utilities URL: http://spamassassin.org/ Version: 3.1.6 -Release: 1 +Release: 12 Requires: perl-libwww-perl perl-IO-Zlib Requires: perl-spamassassin = %version Autoreqprov: on @@ -27,6 +27,7 @@ Source2: init.spamd Source3: sysconfig.spamd Patch0: patch-utf8 +Patch1: patch-PgSQL BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -62,6 +63,7 @@ %prep %setup -n Mail-SpamAssassin-%version %patch0 -p0 +%patch1 -p0 %build export CFLAGS="$RPM_OPT_FLAGS" @@ -154,6 +156,8 @@ rm -rf $RPM_BUILD_ROOT %changelog -n spamassassin +* Wed Nov 15 2006 - varkoly@suse.de +- fixing bug: 215722 – BUG in archive PgSQL.pm (SpamAssassin) * Mon Oct 09 2006 - varkoly@suse.de - update to version 3.1.6: This is a maintenance release of the 3.1.x branch. * fixes to bug in date handling affecting DATE_IN_FUTURE_* ++++++ patch-PgSQL ++++++ Index: lib/Mail/SpamAssassin/PgSQL.pm =================================================================== --- lib/Mail/SpamAssassin/BayesStore/PgSQL.pm 2006-09-29 15:06:38.000000000 +0200 +++ lib/Mail/SpamAssassin/BayesStore/PgSQL.pm 2006-11-15 08:45:52.000000000 +0100 @@ -933,7 +933,7 @@ } my $escaped_token = _quote_bytea($token); - my $sth = $self->{_dbh}->prepare("select put_tokens($self->{_userid},'{$escaped_token}', + my $sth = $self->{_dbh}->prepare("select put_tokens($self->{_userid},'{$escaped_token}'::bytea[], $spam_count,$ham_count,$atime)"); unless (defined($sth)) { @@ -997,7 +997,7 @@ my $tokenarray = join(",", map { '"' . _quote_bytea($_) . '"' } sort keys %{$tokens}); - my $sth = $self->{_dbh}->prepare("select put_tokens($self->{_userid}, '{$tokenarray}', + my $sth = $self->{_dbh}->prepare("select put_tokens($self->{_userid}, '{$tokenarray}'::bytea[], $spam_count, $ham_count, $atime)"); unless (defined($sth)) { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org