From 3bff6cd808d6e9df55cf153643b8dfcdecf6198c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 2 Apr 2018 22:55:39 +0300 Subject: [PATCH] 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 -- 2.44.0