summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-03-02 18:30:21 +0100
committerRemi Collet <fedora@famillecollet.com>2016-03-02 18:30:21 +0100
commitff1adfe7bd22a65f374b5bd0e65f7c495af8230e (patch)
tree3672770cba144fdb7eb6ec0622f5704bf9cf2b31
parent4b00a2726b1a57ae1ff56ca72f655ce127ce7ed4 (diff)
PHP 7.0.4
-rw-r--r--failed.txt2
-rw-r--r--php.spec13
2 files changed, 13 insertions, 2 deletions
diff --git a/failed.txt b/failed.txt
index bbe9dfd..866c0f6 100644
--- a/failed.txt
+++ b/failed.txt
@@ -1,4 +1,4 @@
-===== 7.0.4RC1 (2016-02-18)
+===== 7.0.4 (2016-03-03)
$ grep -r 'Tests failed' /var/lib/mock/scl70*/build.log
diff --git a/php.spec b/php.spec
index a04d172..988c261 100644
--- a/php.spec
+++ b/php.spec
@@ -125,7 +125,7 @@
%global db_devel libdb-devel
%endif
-%global rcver RC1
+#global rcver RC1
%global rpmrel 1
@@ -1344,6 +1344,12 @@ make -C build-cgi install \
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
+%if %{with_libpcre}
+if ! pkg-config libpcre --atleast-version 8.38 ; then
+ sed -e 's/;pcre.jit=1/pcre.jit=0/' -i $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
+fi
+%endif
+
# For third-party packaging:
install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/php
@@ -1826,6 +1832,11 @@ fi
%changelog
+* Wed Mar 2 2016 Remi Collet <remi@fedoraproject.org> 7.0.4-1
+- Update to 7.0.4
+ http://www.php.net/releases/7_0_4.php
+- pcre: disables JIT compilation of patterns with system pcre < 8.38
+
* Thu Feb 18 2016 Remi Collet <remi@fedoraproject.org> 7.0.4-0.1.0RC1
- Update to 7.0.4RC1