]> git.pld-linux.org Git - packages/php-pecl-mongodb.git/blobdiff - php-pecl-mongodb.spec
consistent build: --with-mongodb-sasl
[packages/php-pecl-mongodb.git] / php-pecl-mongodb.spec
index 6b28950e39f7b4b4744b12e68516643633879911..a6c49a7858e84a5af1874e6c9a4aed21edfa1fa3 100644 (file)
@@ -1,3 +1,7 @@
+# TODO
+# - ix86/x32 (php -m) prints::
+#   src/mongoc/mongoc-handshake.c:478 _append_and_truncate(): precondition failed: space_for_suffix >= 0
+#   Aborted
 #
 # Conditional build:
 %bcond_without tests           # build without tests
@@ -21,8 +25,8 @@ BuildRequires:        %{php_name}-json
 BuildRequires: %{php_name}-pcre
 BuildRequires: %{php_name}-spl
 BuildRequires: cyrus-sasl-devel
-BuildRequires: libbson-devel >= 1.5
-BuildRequires: mongo-c-driver-devel >= 1.5
+BuildRequires: libbson-devel >= 1.5.0
+BuildRequires: mongo-c-driver-devel >= 1.5.0
 BuildRequires: openssl-devel
 BuildRequires: rpmbuild(macros) >= 1.666
 Requires:      %{php_name}-json
@@ -30,6 +34,7 @@ Requires:     %{php_name}-pcre
 Requires:      %{php_name}-spl
 %{?requires_php_extension}
 Provides:      php(%{modname}) = %{version}
+ExcludeArch:   %{ix86} x32
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -60,6 +65,7 @@ phpize
 %configure \
        --with-libbson \
        --with-libmongoc \
+       --with-mongodb-sasl \
        --enable-mongodb
 
 %{__make}
This page took 0.104895 seconds and 4 git commands to generate.