summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-03-10 14:55:50 +0100
committerRemi Collet <fedora@famillecollet.com>2016-03-10 14:55:50 +0100
commita3d4d25dc496959efb77abab9c68893fbdbc3931 (patch)
treed41c5a85b31430b94e8449f64cd81c1edba959db
parentc3b8116310d709f282bae9f56602b3a868d3bc64 (diff)
php54-php: F24
-rw-r--r--failed.txt5
-rw-r--r--macros.php1
-rw-r--r--php.spec14
3 files changed, 17 insertions, 3 deletions
diff --git a/failed.txt b/failed.txt
index 124e172..9364a33 100644
--- a/failed.txt
+++ b/failed.txt
@@ -8,10 +8,11 @@ $ grep -r 'Tests failed' /var/lib/mock/scl54*/build.log
/var/lib/mock/scl54fc21x/build.log:Tests failed : 1 ( 0.0%) ( 0.0%)
/var/lib/mock/scl54fc22x/build.log:Tests failed : 1 ( 0.0%) ( 0.0%)
/var/lib/mock/scl54fc23x/build.log:Tests failed : 2 ( 0.0%) ( 0.0%)
+/var/lib/mock/scl54fc24x/build.log:Tests failed : 2 ( 0.0%) ( 0.0%)
-f23
+f23, f24
Bug #64802: openssl_x509_parse fails to parse subject properly in some cases [ext/openssl/tests/bug64802.phpt]
-f21, f22, f23
+f21, f22, f23, f24
Test strptime() function : basic functionality [ext/standard/tests/time/strptime_basic.phpt]
el6
Bug #32001 (xml_parse*() goes into infinite loop when autodetection in effect), using UTF-* [ext/xml/tests/bug32001.phpt]
diff --git a/macros.php b/macros.php
index cda8e08..9507d62 100644
--- a/macros.php
+++ b/macros.php
@@ -13,3 +13,4 @@
%@SCL@php_incldir @INCDIR@/php
%@SCL@__php @BINDIR@/php
+
diff --git a/php.spec b/php.spec
index 394cdc7..f0d84ad 100644
--- a/php.spec
+++ b/php.spec
@@ -119,7 +119,7 @@
Summary: PHP scripting language for creating dynamic web sites
Name: %{?scl_prefix}php
Version: 5.4.45
-Release: 5%{?dist}
+Release: 6%{?dist}
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
@@ -952,6 +952,9 @@ sed -e "s/@PHP_APIVER@/%{apiver}%{isasuffix}/" \
-e "s:@BINDIR@:%{_bindir}:" \
-e 's/@SCL@/%{?scl:%{scl}_}/' \
%{SOURCE3} | tee macros.php
+%if 0%{?fedora} >= 24
+echo '%%%{?scl:%{scl}_}pecl_xmldir %{_localstatedir}/lib/php/peclxml' | tee -a macros.php
+%endif
%build
@@ -1245,6 +1248,9 @@ install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d
install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php
install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session
install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/wsdlcache
+%if 0%{?fedora} >= 24
+install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/peclxml
+%endif
%if %{with_lsws}
install -m 755 build-apache/sapi/litespeed/php $RPM_BUILD_ROOT%{_bindir}/lsphp
@@ -1539,6 +1545,9 @@ EOF
%dir %{_libdir}/php/modules
%dir %{_localstatedir}/lib/php
%dir %{_datadir}/php
+%if 0%{?fedora} >= 24
+%dir %{_localstatedir}/lib/php/peclxml
+%endif
%files cli
%defattr(-,root,root)
@@ -1662,6 +1671,9 @@ EOF
%changelog
+* Thu Mar 10 2016 Remi Collet <remi@fedoraproject.org> 5.4.45-6
+- adapt for F24: define %%pecl_xmldir and own it
+
* Wed Mar 2 2016 Remi Collet <remi@remirepo.net> 5.4.45-5
- Fix #71498: Out-of-Bound Read in phar_parse_zipfile()
- Fix #71587: Use-After-Free / Double-Free in WDDX Deserialize