From d8d9e0be22197b9e1acff56bcfb60b84abb59c09 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 25 Sep 2023 09:43:05 +0200 Subject: add internal UTC if tzdata is missing --- php83.spec | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'php83.spec') diff --git a/php83.spec b/php83.spec index 2cd1dcd..7e38c06 100644 --- a/php83.spec +++ b/php83.spec @@ -127,7 +127,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: php Version: %{upver}%{?rcver:~%{rcver}} -Release: 2%{?dist} +Release: 3%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -173,7 +173,7 @@ Patch10: php-8.2.0-curl.patch # Use system nikic/php-parser Patch41: php-8.3.0-parser.patch # use system tzdata -Patch42: php-8.1.0-systzdata-v23.patch +Patch42: php-8.3.0-systzdata-v24.patch # See http://bugs.php.net/53436 # + display PHP version backported from 8.4 Patch43: php-7.4.0-phpize.patch @@ -401,8 +401,12 @@ Summary: Common files for PHP License: PHP-3.01 AND BSD-2-Clause %if %{with tzdata} +%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10 +Recommends: tzdata +%else Requires: tzdata %endif +%endif %if %{with libpcre} %global pcre2_buildver %(pkg-config --silence-errors --modversion libpcre2-8 2>/dev/null || echo 10.30) Requires: pcre2%{?_isa} >= %{pcre2_buildver} @@ -794,13 +798,9 @@ The extension is linked with Oracle client libraries %{oraclever} "Oracle Client / Server Interoperability Support" (ID 207303.1). You must install libclntsh.so.%{oraclelib} to use this package, -provided by free Oracle Instant Client RPM available from Oracle on: +provided by Oracle Instant Client RPM available from Oracle on: https://www.oracle.com/database/technologies/instant-client/downloads.html -Notice: -- php-oci8 provides oci8 and pdo_oci extensions from php sources. -- php-pecl-oci8 only provides oci8 extension. - Documentation is at http://php.net/oci8 and http://php.net/pdo_oci %endif @@ -1700,7 +1700,7 @@ export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2 export SKIP_ONLINE_TESTS=1 export SKIP_IO_CAPTURE_TESTS=1 unset TZ LANG LC_ALL -if ! make test TESTS=-j4; then +if ! make test TESTS=%{?_smp_mflags}; then set +x for f in $(find .. -name \*.diff -type f -print); do if ! grep -q XFAIL "${f/.diff/.phpt}" @@ -2216,6 +2216,9 @@ fi %changelog +* Mon Sep 25 2023 Remi Collet - 8.3.0~rc2-3 +- add internal UTC if tzdata is missing + * Thu Sep 21 2023 Remi Collet - 8.3.0~rc2-2 - use oracle client library version 19.19 on aarch64 - use official Oracle Instant Client RPM -- cgit