[packages/php-pecl-mongodb] module load test is always performed

glen glen at pld-linux.org
Fri Oct 27 16:00:20 CEST 2017


commit a88e399920073cc0ec535f6c55a3fd26f8bb8556
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Oct 27 17:00:15 2017 +0300

    module load test is always performed

 php-pecl-mongodb.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec
index 5ab94d1..cc59334 100644
--- a/php-pecl-mongodb.spec
+++ b/php-pecl-mongodb.spec
@@ -15,17 +15,15 @@ Source0:	https://pecl.php.net/get/%{modname}-%{version}.tgz
 Source1:	mongodb.ini
 Patch0:		tests.patch
 URL:		https://pecl.php.net/package/mongodb
-BuildRequires:	%{php_name}-devel >= 4:5.4.0
-BuildRequires:	rpmbuild(macros) >= 1.666
-%if %{with tests}
 BuildRequires:	%{php_name}-cli
+BuildRequires:	%{php_name}-devel >= 4:5.4.0
 BuildRequires:	%{php_name}-json
 BuildRequires:	%{php_name}-spl
-%endif
 BuildRequires:	cyrus-sasl-devel
 BuildRequires:	libbson-devel >= 1.5
 BuildRequires:	mongo-c-driver-devel >= 1.5
 BuildRequires:	openssl-devel
+BuildRequires:	rpmbuild(macros) >= 1.666
 Requires:	%{php_name}-json
 %{?requires_php_extension}
 Provides:	php(%{modname}) = %{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-mongodb.git/commitdiff/a88e399920073cc0ec535f6c55a3fd26f8bb8556



More information about the pld-cvs-commit mailing list