From dcce36938902f6769fef5858156b682ca5db18a2 Mon Sep 17 00:00:00 2001 From: havner Date: Thu, 9 Dec 2004 16:28:29 +0000 Subject: [PATCH] - prefork patch bconded (on by default for now) - rel 4 Changed files: spamassassin.spec -> 1.66 --- spamassassin.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spamassassin.spec b/spamassassin.spec index 591a7dd..9c9ce25 100644 --- a/spamassassin.spec +++ b/spamassassin.spec @@ -1,6 +1,7 @@ # # Conditional build: -%bcond_with tests # perform "make test" +%bcond_with tests # perform "make test" +%bcond_without prefork # don't apply prefork patch inspired by apache # %include /usr/lib/rpm/macros.perl %define pdir Mail @@ -9,7 +10,7 @@ Summary: A spam filter for email which can be invoked from mail delivery agents Summary(pl): Filtr antyspamowy, przeznaczony dla programów dostarczaj±cych pocztê (MDA) Name: spamassassin Version: 3.0.1 -Release: 3 +Release: 4 License: Apache Software License v2 Group: Applications/Mail Source0: http://www.apache.org/dist/spamassassin/%{pdir}-%{pnam}-%{version}.tar.bz2 @@ -140,7 +141,7 @@ aplikacji do czytania poczty. %prep %setup -q -n %{pdir}-%{pnam}-%{version} -%patch0 -p0 +%{?with_prefork:%patch0 -p0} %build echo "postmaster@localhost" | \ -- 2.44.0