[packages/php-pecl-mongodb] update find to error on missing src/libbson

glen glen at pld-linux.org
Mon Sep 24 21:53:21 CEST 2018


commit efb59f9a9c0b515bfcc9cf8fa5d9e50cb2f37914
Author: Elan Ruusamäe <glen at 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



More information about the pld-cvs-commit mailing list