[packages/php-pecl-imagick] i686 spl requires pcre

glen glen at pld-linux.org
Wed Nov 2 23:01:16 CET 2016


commit 501a42f6266c04caeae443e73c44359959bae5ea
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Nov 3 00:00:59 2016 +0200

    i686 spl requires pcre
    
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php53/spl.so' - /usr/lib/php53/spl.so: undefined symbol: php_pcre_split_impl in Unknown on line 0

 php-pecl-imagick.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/php-pecl-imagick.spec b/php-pecl-imagick.spec
index 74022dc..f746031 100644
--- a/php-pecl-imagick.spec
+++ b/php-pecl-imagick.spec
@@ -21,6 +21,7 @@ BuildRequires:	ImageMagick-devel >= 1:6.2.4.0
 BuildRequires:	rpmbuild(macros) >= 1.650
 %if %{with tests}
 BuildRequires:	%{php_name}-cli
+BuildRequires:	%{php_name}-pcre
 BuildRequires:	%{php_name}-spl
 BuildRequires:	ImageMagick-coder-jpeg
 BuildRequires:	ImageMagick-coder-png
@@ -95,6 +96,7 @@ phpize
 %if %{with tests}
 %{__php} -n -q \
 	-d extension_dir=modules \
+	-d extension=%{php_extensiondir}/pcre.so \
 	-d extension=%{php_extensiondir}/spl.so \
 	-d extension=%{modname}.so \
 	-m > modules.log
@@ -103,7 +105,7 @@ grep %{modname} modules.log
 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
 %{__make} test \
 	PHP_EXECUTABLE=%{__php} \
-	PHP_TEST_SHARED_SYSTEM_EXTENSIONS="spl" \
+	PHP_TEST_SHARED_SYSTEM_EXTENSIONS="pcre spl" \
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-imagick.git/commitdiff/501a42f6266c04caeae443e73c44359959bae5ea



More information about the pld-cvs-commit mailing list