]> git.pld-linux.org Git - packages/exim.git/commitdiff
switch to new conditional builds macros (bcond_on_ -> _with_/bcond_off_ -> _without_...
authorArtur Frysiak <artur@frysiak.net>
Tue, 22 May 2001 09:06:17 +0000 (09:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    exim.spec -> 1.58

exim.spec

index 3e9097e61d99790ba8cdc90b620db113be1a87c0..10b00967954880af78917800277fc9ba781b29c3 100644 (file)
--- a/exim.spec
+++ b/exim.spec
@@ -1,7 +1,7 @@
 # Conditional build:
-# bcond_on_pgsql - build wiht PostgreSQ support
-# bcond_on_mysql - build with MySQL support
-# bcond_off_ldap - build without LDAP support
+# _with_pgsql - build wiht PostgreSQ support
+# _with_mysql - build with MySQL support
+# _without_ldap - build without LDAP support
 
 Summary:       University of Cambridge Mail Transfer Agent 
 Summary(pl):   Agent Transferu Poczty Uniwersytetu w Cambridge
@@ -35,9 +35,9 @@ Patch3:               %{name}-use_system_pcre.patch
 Patch4:                %{name}-Makefile-Default.patch
 Patch5:                %{name}-conf.patch
 URL:           http://www.exim.org/
-%{!?bcond_off_ldap:BuildRequires: openldap-devel >= 2.0.0}
-%{?bcond_on_mysql:BuildRequires: mysql-devel}
-%{?bcond_on_pgsql:BuildRequires: postgresql-devel}
+%{!?_without_ldap:BuildRequires: openldap-devel >= 2.0.0}
+%{?_with_mysql:BuildRequires: mysql-devel}
+%{?_with_pgsql:BuildRequires: postgresql-devel}
 BuildRequires: XFree86-devel
 BuildRequires: texinfo
 BuildRequires: perl
@@ -113,11 +113,11 @@ cp -f exim_monitor/EDITME Local/eximon.conf
 
 %build
 %{__make} CFLAGS="%{rpmcflags}" \
-       %{?bcond_on_mysql:LOOKUP_MYSQL=yes} \
-       %{?bcond_on_pgsql:LOOKUP_PGSQL=yes} \
-       %{!?bcond_off_ldap:LOOKUP_LDAP=yes LDAP_LIB_TYPE=OPENLDAP2} \
-       LOOKUP_LIBS="%{!?bcond_off_ldap:-lldap -llber} %{?bcond_on_mysql:-lmysqlclient} %{?bcond_on_pgsql:-lpq}" \
-       LOOKUP_INCLUDE="%{?bcond_on_mysql:-I/usr/include/mysql} %{?bcond_on_pgsql:-I/usr/include/pgsql}"
+       %{?_with_mysql:LOOKUP_MYSQL=yes} \
+       %{?_with_pgsql:LOOKUP_PGSQL=yes} \
+       %{!?_without_ldap:LOOKUP_LDAP=yes LDAP_LIB_TYPE=OPENLDAP2} \
+       LOOKUP_LIBS="%{!?_without_ldap:-lldap -llber} %{?_with_mysql:-lmysqlclient} %{?_with_pgsql:-lpq}" \
+       LOOKUP_INCLUDE="%{?_with_mysql:-I/usr/include/mysql} %{?_with_pgsql:-I/usr/include/pgsql}"
 
 makeinfo exim-texinfo-*/doc/{oview,spec,filter}.texinfo
 
This page took 0.257661 seconds and 4 git commands to generate.