[packaging] Branch 'el5/feature-kolab-2.4' - cyrus-imapd.spec

Jeroen van Meeuwen vanmeeuwen at kolabsys.com
Fri Jun 17 00:07:54 CEST 2011


 cyrus-imapd.spec |   13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

New commits:
commit 80e8fcab903b8709264ffb7c413626eda7dc54c6
Author: Jeroen van Meeuwen (Ergo Project) <jeroen.van.meeuwen at ergo-project.org>
Date:   Thu Jun 16 17:07:02 2011 -0500

    Bump release and rebuild

diff --git a/cyrus-imapd.spec b/cyrus-imapd.spec
index 9aa716f..72f338a 100644
--- a/cyrus-imapd.spec
+++ b/cyrus-imapd.spec
@@ -14,7 +14,7 @@
 Name:               cyrus-imapd
 Summary:            A high-performance mail server with IMAP, POP3, NNTP and SIEVE support
 Version:            2.4.9
-Release:            0.1%{?dist}
+Release:            0.2%{?dist}
 License:            BSD
 Group:              System Environment/Daemons
 URL:                http://www.cyrusimap.org
@@ -92,11 +92,15 @@ BuildRequires:      db4-devel
 BuildRequires:      flex
 BuildRequires:      groff
 BuildRequires:      krb5-devel
+%if 0%{with_mysql} > 0
 BuildRequires:      mysql-devel
+%endif
 BuildRequires:      openldap-devel
 BuildRequires:      openssl-devel
 BuildRequires:      pkgconfig
+%if 0%{?with_pgsql} > 0
 BuildRequires:      postgresql-devel
+%endif
 BuildRequires:      net-snmp-devel
 BuildRequires:      tcp_wrappers
 BuildRequires:      transfig
@@ -247,11 +251,15 @@ LDFLAGS="$LDFLAGS -pie"; export LDFLAGS
     --with-bdb-incdir=%{_includedir}/db4 \
     --with-cyrus-prefix=%{_cyrexecdir} \
     --with-extraident="Kolab-%{version}-%{release}" \
+%if 0%{?with_mysql} > 0
     --with-mysql=%{_prefix} \
     --with-mysql-incdir=%{_includedir}/mysql/ \
     --with-mysql-libdir=%{_libdir}/mysql/ \
+%endif
     --with-perl=%{__perl} \
+%if 0%{?with_pgsql} > 0
     --with-pgsql=%{_includedir} \
+%endif
     --with-service-path=%{_cyrexecdir} \
     --with-syslogfacility=MAIL \
     --with-krbimpl=mit
@@ -566,6 +574,9 @@ fi
 %{_mandir}/man1/*
 
 %changelog
+* Thu Jun 16 2011 Jeroen van Meeuwen <vanmeeuwen at kolabsys.com> - 2.4.9-0.2
+- Rebuild with fewer dependencies
+
 * Sun May 08 2011 Jeroen van Meeuwen <vanmeeuwen at kolabsys.com> - 2.4.9-0.1
 - Add in the post 2.4.8 patches from the cyrus-imapd-2.4 branch
 




More information about the packaging-commits mailing list