diff options
author | Remi Collet <remi@remirepo.net> | 2018-06-27 07:43:27 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-06-27 07:43:27 +0200 |
commit | 0f0148534f976851e1e57229b89aacc4e846d32f (patch) | |
tree | 86efee9cefe81a096bc021e2cf7e16a898d2ea1a | |
parent | 33fde6a2ab89dfc619179d6d746670fb850f946d (diff) |
cleanup
-rw-r--r-- | php-pecl-mongodb.spec | 11 |
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 |