[packages/php-pecl-mongodb] re-order after openssl module

glen glen at pld-linux.org
Mon Apr 2 21:56:20 CEST 2018


commit 3bff6cd808d6e9df55cf153643b8dfcdecf6198c
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Apr 2 22:55:39 2018 +0300

    re-order after openssl module
    
    workaround for openssl 1.0.2 unidentified crash
    https://github.com/mongodb/mongo-php-driver/issues/789
    
    should be not needed with openssl 1.1.0

 php-pecl-mongodb.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec
index 45933bb..76d5aa7 100644
--- a/php-pecl-mongodb.spec
+++ b/php-pecl-mongodb.spec
@@ -6,7 +6,7 @@
 # Conditional build:
 %bcond_without	tests		# build without tests
 %bcond_with	sasl		# Include Cyrus SASL support (for bundled only)
-%bcond_with	ssl		# Enable TLS connections and SCRAM-SHA-1 authentication (for bundled only)
+%bcond_without	ssl		# Enable TLS connections and SCRAM-SHA-1 authentication (for bundled only)
 %bcond_with	bundled		# Use bundled libbson, libmongoc
 
 %define		php_name	php%{?php_suffix}
@@ -110,12 +110,12 @@ rm -rf $RPM_BUILD_ROOT
 	INSTALL_ROOT=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
-cp -p %{SOURCE1} $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/openssl_%{modname}.ini
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{modname}.ini
+%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/*%{modname}.ini
 %attr(755,root,root) %{php_extensiondir}/%{modname}.so
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list