]> git.pld-linux.org Git - packages/php-pecl-imagick.git/blobdiff - php-pecl-imagick.spec
i686 spl requires pcre
[packages/php-pecl-imagick.git] / php-pecl-imagick.spec
index 74022dc053f9503777d4e24b5577665ac044f13d..f7460317e15bb86f70cbc18d030b2a6bee072181 100644 (file)
@@ -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
This page took 0.031702 seconds and 4 git commands to generate.