From 9600d33447799d2af91318d8bf2f7b341b267ebb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 11 May 2019 12:11:16 +0300 Subject: [PATCH] php 5.2 deps PHP Warning: Cannot load module 'SPL' because required module 'simplexml' is not loaded in Unknown on line 0 --- php-pecl-memcache.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/php-pecl-memcache.spec b/php-pecl-memcache.spec index e56fcaf..1d8f84a 100644 --- a/php-pecl-memcache.spec +++ b/php-pecl-memcache.spec @@ -31,6 +31,7 @@ BuildRequires: rpmbuild(macros) >= 1.650 BuildRequires: %{php_name}-cli BuildRequires: %{php_name}-pcre BuildRequires: %{php_name}-session +BuildRequires: %{php_name}-simplexml BuildRequires: %{php_name}-spl BuildRequires: memcached %endif @@ -122,6 +123,7 @@ phpize %{__php} -n -q \ -d extension_dir=modules \ -d extension=%{php_extensiondir}/pcre.so \ + -d extension=%{php_extensiondir}/simplexml.so \ -d extension=%{php_extensiondir}/spl.so \ -d extension=%{php_extensiondir}/session.so \ -d extension=%{modname}.so \ @@ -133,7 +135,7 @@ cat <<'EOF' > run-tests.sh export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2 exec %{__make} test \ PHP_EXECUTABLE=%{__php} \ - PHP_TEST_SHARED_SYSTEM_EXTENSIONS="pcre spl session" \ + PHP_TEST_SHARED_SYSTEM_EXTENSIONS="pcre simplexml spl session" \ RUN_TESTS_SETTINGS="-q $*" EOF chmod +x run-tests.sh -- 2.43.0