]> git.pld-linux.org Git - packages/php-pecl-ds.git/commitdiff
load module after json module auto/th/php-pecl-ds-1.2.8-3
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 21 Mar 2019 13:13:48 +0000 (15:13 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Thu, 21 Mar 2019 13:50:21 +0000 (15:50 +0200)
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

index 6f43ee359dac98100da68346b4da4771a7b82518..4449c171bc2fead89b00a22d410780c3badef1b3 100644 (file)
@@ -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
This page took 0.080205 seconds and 4 git commands to generate.