From 3682a37dfb2310e7613fb825572190d8a6ecb9ac Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 31 Jan 2024 08:14:29 +0100 Subject: update to 8.3.3RC1 --- failed.txt | 2 +- php-8.3.0-parser.patch | 16 ---------------- php-8.3.3-parser.patch | 16 ++++++++++++++++ php83.spec | 11 +++++++---- 4 files changed, 24 insertions(+), 21 deletions(-) delete mode 100644 php-8.3.0-parser.patch create mode 100644 php-8.3.3-parser.patch diff --git a/failed.txt b/failed.txt index 954e622..9847927 100644 --- a/failed.txt +++ b/failed.txt @@ -1,4 +1,4 @@ -===== 8.3.2 (2024-01-18) +===== 8.3.3RC1 (2024-02-01) $ grep -ar 'Tests failed' /var/lib/mock/*/build.log diff --git a/php-8.3.0-parser.patch b/php-8.3.0-parser.patch deleted file mode 100644 index 27ff2f1..0000000 --- a/php-8.3.0-parser.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -up ./build/gen_stub.php.syslib ./build/gen_stub.php ---- ./build/gen_stub.php.syslib 2020-06-25 08:11:51.782046813 +0200 -+++ ./build/gen_stub.php 2020-06-25 08:13:11.188860368 +0200 -@@ -3265,6 +3265,12 @@ function initPhpParser() { - } - - $isInitialized = true; -+ -+ if (file_exists('/usr/share/php/PhpParser5/autoload.php')) { -+ require_once '/usr/share/php/PhpParser5/autoload.php'; -+ return; -+ } -+ - $version = "5.0.0alpha3"; - $phpParserDir = __DIR__ . "/PHP-Parser-$version"; - if (!is_dir($phpParserDir)) { diff --git a/php-8.3.3-parser.patch b/php-8.3.3-parser.patch new file mode 100644 index 0000000..49f7d5e --- /dev/null +++ b/php-8.3.3-parser.patch @@ -0,0 +1,16 @@ +diff -up ./build/gen_stub.php.syslib ./build/gen_stub.php +--- ./build/gen_stub.php.syslib 2020-06-25 08:11:51.782046813 +0200 ++++ ./build/gen_stub.php 2020-06-25 08:13:11.188860368 +0200 +@@ -3265,6 +3265,12 @@ function initPhpParser() { + } + + $isInitialized = true; ++ ++ if (file_exists('/usr/share/php/PhpParser5/autoload.php')) { ++ require_once '/usr/share/php/PhpParser5/autoload.php'; ++ return; ++ } ++ + $version = "5.0.0"; + $phpParserDir = __DIR__ . "/PHP-Parser-$version"; + if (!is_dir($phpParserDir)) { diff --git a/php83.spec b/php83.spec index cb63b69..4f9b096 100644 --- a/php83.spec +++ b/php83.spec @@ -120,8 +120,8 @@ %bcond_without libgd %bcond_with zip -%global upver 8.3.2 -#global rcver RC1 +%global upver 8.3.3 +%global rcver RC1 # TODO set PHP_EXTRA_VERSION for EOL version Summary: PHP scripting language for creating dynamic web sites @@ -171,7 +171,7 @@ Patch10: php-8.2.0-curl.patch # Functional changes # Use system nikic/php-parser -Patch41: php-8.3.0-parser.patch +Patch41: php-8.3.3-parser.patch # use system tzdata Patch42: php-8.3.0-systzdata-v24.patch # See http://bugs.php.net/53436 @@ -508,7 +508,7 @@ Obsoletes: php74-devel, php74w-devel Obsoletes: php80-devel %endif %if 0%{?fedora} || 0%{?rhel} >= 8 -Recommends: php-nikic-php-parser5 >= 5.0.0~alpha3 +Recommends: php-nikic-php-parser5 >= 5.0.0 %endif %description devel @@ -2212,6 +2212,9 @@ fi %changelog +* Wed Jan 31 2024 Remi Collet - 8.3.2~RC1-1 +- update to 8.3.3RC1 + * Tue Jan 16 2024 Remi Collet - 8.3.2-1 - Update to 8.3.2 - http://www.php.net/releases/8_3_2.php -- cgit