]> git.pld-linux.org Git - packages/dspam.git/commitdiff
- bcond works (mysql40)
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 1 Feb 2006 20:56:34 +0000 (20:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dspam.spec -> 1.51

dspam.spec

index 08919584bb2127b1c7bc0ae36b4f0c1a73b3ea6f..13b7b59846209b28303dac9415a0622ce18a7eac 100644 (file)
 %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
@@ -216,8 +216,8 @@ Sterownik SQLite dla DSPAM-a.
 
 %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}
This page took 0.084064 seconds and 4 git commands to generate.