summaryrefslogtreecommitdiffstats
path: root/php54.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-06-10 17:26:59 +0200
committerRemi Collet <fedora@famillecollet.com>2015-06-10 17:26:59 +0200
commitf0f1c86b6cddc42f3add4cbe9d8bb4a73df3b87e (patch)
tree1ef451db8d02990f377e4f5191c5cc4d3ff5049b /php54.spec
parent822e6b924bf3de13d596d6f8d4a8d7f5e76fbd68 (diff)
php 5.4: add some patch to improve test results
Diffstat (limited to 'php54.spec')
-rw-r--r--php54.spec14
1 files changed, 11 insertions, 3 deletions
diff --git a/php54.spec b/php54.spec
index 2f73832..ddaea13 100644
--- a/php54.spec
+++ b/php54.spec
@@ -140,8 +140,10 @@ Patch102: php-5.4.39-bug50444.patch
# Security fixes
# Fixes for tests
-# see https://bugzilla.redhat.com/971416
-Patch302: php-5.4.30-noNO.patch
+# no_NO issue
+Patch301: php-5.4.42-datetests-2.patch
+# Revert changes for pcre < 8.34
+Patch302: php-5.4.42-oldpcre.patch
# RC Patch
Patch91: php-5.3.7-oci8conf.patch
@@ -838,7 +840,13 @@ rm -f ext/json/utf8_to_utf16.*
# security patches
# Fixes for tests
-%patch302 -p0 -b .971416
+%patch301 -p1 -b .datetests2
+%if 0%{?fedora} >= 14 || 0%{?rhel} >= 7
+%if 0%{?fedora} < 21
+# Only apply when system libpcre < 8.34
+%patch302 -p1 -b .pcre834
+%endif
+%endif
# Prevent %%doc confusion over LICENSE files
cp Zend/LICENSE Zend/ZEND_LICENSE