From 285ed68b230930c7c522637d230abd1568bed67d Mon Sep 17 00:00:00 2001 From: Andrzej Augustynowicz Date: Mon, 15 Dec 2003 12:13:58 +0000 Subject: [PATCH] - added patch1 build without fam support (bcond with fam) Changed files: courier.spec -> 1.46 --- courier.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/courier.spec b/courier.spec index 49bb997..cd8bb5f 100644 --- a/courier.spec +++ b/courier.spec @@ -1,3 +1,7 @@ +# +# Conditional build: +%bcond_with fam # with fam support +# Summary: Courier mail server Summary(pl): Serwer poczty Courier Name: courier @@ -8,6 +12,7 @@ Group: Networking/Daemons Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2 # Source0-md5: 8c607c70a692d8f8ccb769a3f96d2f28 Patch0: %{name}-openssl-path.patch +Patch1: %{name}-withoutfam.patch URL: http://www.courier-mta.org/ BuildRequires: autoconf BuildRequires: automake @@ -25,7 +30,9 @@ BuildRequires: pam-devel BuildRequires: perl-devel BuildRequires: sysconftool BuildRequires: zlib-devel +%{?with_fam:BuildRequires: fam-devel} Requires(post,preun): /sbin/chkconfig +%{?with_fam:Requires: fam} Provides: smtpdaemon BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -205,7 +212,8 @@ przekazania wychodz %prep %setup -q -%patch -p1 +%patch0 -p1 +%{!?with_fam:%patch1 -p1} %build # we don't want fax module -- 2.44.0