From bf3d72cc9e6c87358b047d22f37347fe9fe203ba Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 2 May 2014 17:28:39 +0300 Subject: [PATCH] enable instantclient bcond by default bcond is only used if oci8 bcond is enabled --- php.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php.spec b/php.spec index 1a73bf2..a8f128d 100644 --- a/php.spec +++ b/php.spec @@ -44,7 +44,7 @@ # Conditional build: %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs) %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs) -%bcond_with instantclient # build Oracle oci8 extension module against oracle-instantclient package +%bcond_without instantclient # build Oracle oci8 extension module against oracle-instantclient package %bcond_with system_gd # with system gd (we prefer internal since it enables few more features) %bcond_with system_libzip # with system libzip (reported broken currently) %bcond_without default_php # use this PHP as default PHP in distro @@ -271,7 +271,7 @@ BuildRequires: openssl-devel >= 0.9.7d %{?with_gcov:BuildRequires: lcov} %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}} %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7} -%{?with_instantclient:BuildRequires: oracle-instantclient-devel} +%{?with_oci8:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}} BuildRequires: pam-devel %{?with_pcre:BuildRequires: pcre-devel >= 8.10} BuildRequires: pkgconfig -- 2.44.0