[packages/php-pecl-ds] load module after json module

glen glen at pld-linux.org
Thu Mar 21 14:56:44 CET 2019


commit 438d385541a814b9786b5f72fa57b5f56fb138fe
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Mar 21 15:13:48 2019 +0200

    load module after json module
    
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php71/ds.so' - /usr/lib64/php71/ds.so: undefined symbol: php_json_serializable_ce in Unknown on line 0
    
    - https://github.com/php-ds/ext-ds/issues/2
    - https://github.com/php-ds/ext-ds/pull/34

 php-pecl-ds.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/php-pecl-ds.spec b/php-pecl-ds.spec
index 6f43ee3..4449c17 100644
--- a/php-pecl-ds.spec
+++ b/php-pecl-ds.spec
@@ -7,7 +7,7 @@
 Summary:	Data Structures
 Name:		%{php_name}-pecl-%{modname}
 Version:	1.2.8
-Release:	2
+Release:	3
 License:	MIT
 Group:		Development/Languages/PHP
 Source0:	https://pecl.php.net/get/%{modname}-%{version}.tgz
@@ -73,7 +73,7 @@ install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}}
 	INSTALL_ROOT=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
-cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
+cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/json_%{modname}.ini
 ; Enable %{modname} extension module
 extension=%{modname}.so
 EOF
@@ -92,5 +92,5 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc LICENSE
-%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-ds.git/commitdiff/438d385541a814b9786b5f72fa57b5f56fb138fe



More information about the pld-cvs-commit mailing list