SPECS: dspam.spec - bcond works (mysql40)
arekm
arekm at pld-linux.org
Wed Feb 1 21:56:40 CET 2006
Author: arekm Date: Wed Feb 1 20:56:40 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- bcond works (mysql40)
---- Files affected:
SPECS:
dspam.spec (1.50 -> 1.51)
---- Diffs:
================================================================
Index: SPECS/dspam.spec
diff -u SPECS/dspam.spec:1.50 SPECS/dspam.spec:1.51
--- SPECS/dspam.spec:1.50 Wed Feb 1 21:11:42 2006
+++ SPECS/dspam.spec Wed Feb 1 21:56:34 2006
@@ -12,18 +12,18 @@
%bcond_without sqlite # disable SQLite3 storage driver
%bcond_without db # disable BerkeleyDB storage driver
%bcond_without daemon # disable daemon mode
+%bcond_with mysql40 # use with mysql 4.0
#
Summary: A library and Mail Delivery Agent for Bayesian spam filtering
Summary(pl): Biblioteka i MDA do bayesowskiego filtrowania spamu
Name: dspam
Version: 3.6.3
-Release: 0.2
+Release: 0.4
License: GPL
Group: Applications/Mail
Source0: http://www.nuclearelephant.com/projects/dspam/sources/%{name}-%{version}.tar.gz
# Source0-md5: db1aedb9677e6bf5c7a47a72d4f130e5
Source1: %{name}.init
-Patch0: %{name}-mysql-runtime.patch
URL: http://www.nuclearelephant.com/projects/dspam/
BuildRequires: autoconf
BuildRequires: automake
@@ -217,8 +217,8 @@
%prep
%setup -q
-%patch0 -p1
sed -i -e 's#\-static##g' src/Makefile* src/*/Makefile*
+%{?with_mysql40:sed -i -e 's#40100#99999#g' src/mysql_drv.c}
%build
%{__libtoolize}
@@ -476,6 +476,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.51 2006/02/01 20:56:34 arekm
+- bcond works (mysql40)
+
Revision 1.50 2006/02/01 20:11:42 arekm
- choose mysql version from config
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/dspam.spec?r1=1.50&r2=1.51&f=u
More information about the pld-cvs-commit
mailing list