summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-05-22 14:57:47 +0200
committerRemi Collet <fedora@famillecollet.com>2015-05-22 14:57:47 +0200
commit028aaef207ddb2dd1b687600fd8d0342931e9603 (patch)
tree5368fd905aeb98cb97e314424c51627d19a77edf
parenta85f4f1e77db8811ae40284a5877386fb4f4a2e7 (diff)
php-suhosin: min php version is now 5.4
-rw-r--r--php-suhosin.spec6
1 files changed, 1 insertions, 5 deletions
diff --git a/php-suhosin.spec b/php-suhosin.spec
index 5efead9..72a7bd7 100644
--- a/php-suhosin.spec
+++ b/php-suhosin.spec
@@ -40,7 +40,7 @@ Source0: http://download.suhosin.org/suhosin-%{version}.tar.gz
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: %{?scl_prefix}php-devel
+BuildRequires: %{?scl_prefix}php-devel > 5.4
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
@@ -145,10 +145,6 @@ install -Dpm 644 ZTS/%{ext_name}.ini %{buildroot}%{php_ztsinidir}/%{ini_name}
cd NTS
# drop known to fail tests
-%if "%{php_version}" < "5.4"
-rm tests/misc/disable_display_errors_fail.phpt
-rm tests/session/session_recursive_crash.phpt
-%endif
%if "%{php_version}" < "5.5"
rm tests/executor/function_blacklist_printf.phpt
rm tests/executor/function_whitelist_call_user_func.phpt