summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-mongodb.spec11
1 files changed, 4 insertions, 7 deletions
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec
index 5c6d314..0762129 100644
--- a/php-pecl-mongodb.spec
+++ b/php-pecl-mongodb.spec
@@ -59,17 +59,17 @@ BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 5.5
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-json
-BuildRequires: cyrus-sasl-devel
-BuildRequires: openssl-devel
%if %{with_syslib}
BuildRequires: pkgconfig(libbson-1.0) >= %{libver}
BuildRequires: pkgconfig(libmongoc-1.0) >= %{libver}
%else
+BuildRequires: cyrus-sasl-devel
+BuildRequires: openssl-devel
+BuildRequires: snappy-devel
+BuildRequires: zlib-devel
Provides: bundled(libbson) = %{libver}
Provides: bundled(mongo-c-driver) = %{libver}
%endif
-BuildRequires: snappy-devel
-BuildRequires: zlib-devel
# We require 50 to ensure use of libicu-last (same version than PHP)
BuildRequires: libicu-devel >= 50
%if %{with_tests}
@@ -172,9 +172,6 @@ peclbuild() {
--with-php-config=%{_bindir}/${1}-config \
--with-libbson \
--with-libmongoc \
- --with-mongodb-sasl=cyrus \
- --with-mongodb-icu=yes \
- --with-mongodb-ssl=openssl \
--enable-mongodb
%else