commit efb59f9a9c0b515bfcc9cf8fa5d9e50cb2f37914 Author: Elan Ruusamäe <g...@pld-linux.org> Date: Mon Sep 24 22:46:44 2018 +0300
update find to error on missing src/libbson php-pecl-mongodb.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec index cda92cc..42caa25 100644 --- a/php-pecl-mongodb.spec +++ b/php-pecl-mongodb.spec @@ -7,7 +7,7 @@ %bcond_without tests # build without tests %bcond_with sasl # Include Cyrus SASL support (for bundled only) %bcond_without ssl # Enable TLS connections and SCRAM-SHA-1 authentication (for bundled only) -%bcond_with bundled # Use bundled libbson, libmongoc +%bcond_with bundled # Use bundled libmongoc %define php_name php%{?php_suffix} %define modname mongodb @@ -56,9 +56,8 @@ mv %{modname}-%{version}/* . # Ensure we use system library # remove only C sources, m4 resources needed for phpize via m4_include find \ - src/libbson \ src/libmongoc \ - -name '*.[ch]' | xargs %{__rm} -v + -name '*.[ch]' -delete %endif %build ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-mongodb.git/commitdiff/279c36ad39e2cf073daebba9ff751ff916855c6b _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit