summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-01-05 16:17:10 +0100
committerRemi Collet <remi@remirepo.net>2021-01-05 16:17:10 +0100
commitcaf1d2fe6962dfeb691e3b9a9b35a7a54f0a8a42 (patch)
tree5386b42f504d6ae900245ffa23aec2a16a19c2ef
parent6936a4b27d6b6d08a798800fcad11ffbdb3d2dea (diff)
Update to 8.0.1 - http://www.php.net/releases/8_0_1.phpv8.0.1
-rw-r--r--failed.txt2
-rw-r--r--php-8.0.0-phpinfo.patch88
-rw-r--r--php80.spec7
3 files changed, 87 insertions, 10 deletions
diff --git a/failed.txt b/failed.txt
index 7f8263b..3b86f3a 100644
--- a/failed.txt
+++ b/failed.txt
@@ -1,4 +1,4 @@
-===== 8.0.1RC1 (2020-12-17)
+===== 8.0.1 (2021-01-07)
$ grep -ar 'Tests failed' /var/lib/mock/{fc,el}*/build.log
diff --git a/php-8.0.0-phpinfo.patch b/php-8.0.0-phpinfo.patch
index e86af79..391d996 100644
--- a/php-8.0.0-phpinfo.patch
+++ b/php-8.0.0-phpinfo.patch
@@ -5,12 +5,86 @@ The available extensions are not related to this command.
Replace full GCC name by gcc in php -v output
+
+Also apply
+
+From 9bf43c45908433d382f0499d529849172d0d8206 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Mon, 28 Dec 2020 08:33:09 +0100
+Subject: [PATCH] rename COMPILER and ARCHITECTURE macro (too generic)
+
+---
+ configure.ac | 4 ++--
+ ext/standard/info.c | 8 ++++----
+ sapi/cli/php_cli.c | 8 ++++----
+ win32/build/confutils.js | 10 +++++-----
+ 4 files changed, 15 insertions(+), 15 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 9d9c8b155b07..143dc061346b 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1289,10 +1289,10 @@ if test -n "${PHP_BUILD_PROVIDER}"; then
+ AC_DEFINE_UNQUOTED(PHP_BUILD_PROVIDER,"$PHP_BUILD_PROVIDER",[build provider])
+ fi
+ if test -n "${PHP_BUILD_COMPILER}"; then
+- AC_DEFINE_UNQUOTED(COMPILER,"$PHP_BUILD_COMPILER",[used compiler for build])
++ AC_DEFINE_UNQUOTED(PHP_BUILD_COMPILER,"$PHP_BUILD_COMPILER",[used compiler for build])
+ fi
+ if test -n "${PHP_BUILD_ARCH}"; then
+- AC_DEFINE_UNQUOTED(ARCHITECTURE,"$PHP_BUILD_ARCH",[build architecture])
++ AC_DEFINE_UNQUOTED(PHP_BUILD_ARCH,"$PHP_BUILD_ARCH",[build architecture])
+ fi
+
+ PHP_SUBST_OLD(PHP_INSTALLED_SAPIS)
+diff --git a/ext/standard/info.c b/ext/standard/info.c
+index 153cb6cde014..8ceef31d9fe4 100644
+--- a/ext/standard/info.c
++++ b/ext/standard/info.c
+@@ -798,11 +798,11 @@ PHPAPI ZEND_COLD void php_print_info(int flag)
+ #ifdef PHP_BUILD_PROVIDER
+ php_info_print_table_row(2, "Build Provider", PHP_BUILD_PROVIDER);
+ #endif
+-#ifdef COMPILER
+- php_info_print_table_row(2, "Compiler", COMPILER);
++#ifdef PHP_BUILD_COMPILER
++ php_info_print_table_row(2, "Compiler", PHP_BUILD_COMPILER);
+ #endif
+-#ifdef ARCHITECTURE
+- php_info_print_table_row(2, "Architecture", ARCHITECTURE);
++#ifdef PHP_BUILD_ARCH
++ php_info_print_table_row(2, "Architecture", PHP_BUILD_ARCH);
+ #endif
+ #ifdef CONFIGURE_COMMAND
+ php_info_print_table_row(2, "Configure Command", CONFIGURE_COMMAND );
+diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
+index 5092fb0ffd68..9d296acec631 100644
+--- a/sapi/cli/php_cli.c
++++ b/sapi/cli/php_cli.c
+@@ -640,12 +640,12 @@ static int do_cli(int argc, char **argv) /* {{{ */
+ #else
+ "NTS "
+ #endif
+-#ifdef COMPILER
+- COMPILER
++#ifdef PHP_BUILD_COMPILER
++ PHP_BUILD_COMPILER
+ " "
+ #endif
+-#ifdef ARCHITECTURE
+- ARCHITECTURE
++#ifdef PHP_BUILD_ARCH
++ PHP_BUILD_ARCH
+ " "
+ #endif
+ #if ZEND_DEBUG
+
diff -up ./ext/standard/info.c.phpinfo ./ext/standard/info.c
--- ./ext/standard/info.c.phpinfo 2020-07-21 10:49:31.000000000 +0200
+++ ./ext/standard/info.c 2020-07-21 11:41:56.295633523 +0200
@@ -804,9 +804,6 @@ PHPAPI ZEND_COLD void php_print_info(int
- #ifdef ARCHITECTURE
- php_info_print_table_row(2, "Architecture", ARCHITECTURE);
+ #ifdef PHP_BUILD_ARCH
+ php_info_print_table_row(2, "Architecture", PHP_BUILD_ARCH);
#endif
-#ifdef CONFIGURE_COMMAND
- php_info_print_table_row(2, "Configure Command", CONFIGURE_COMMAND );
@@ -32,13 +106,13 @@ diff -up ./ext/standard/tests/general_functions/phpinfo.phpt.phpinfo ./ext/stand
diff -up ./sapi/cli/php_cli.c.phpinfo ./sapi/cli/php_cli.c
--- ./sapi/cli/php_cli.c.phpinfo 2020-07-21 11:43:38.812475300 +0200
+++ ./sapi/cli/php_cli.c 2020-07-21 11:43:45.783464540 +0200
-@@ -643,8 +643,7 @@ static int do_cli(int argc, char **argv)
+@@ -641,8 +641,7 @@ static int do_cli(int argc, char **argv)
"NTS "
#endif
- #ifdef COMPILER
-- COMPILER
+ #ifdef PHP_BUILD_COMPILER
+- PHP_BUILD_COMPILER
- " "
+ "gcc "
#endif
- #ifdef ARCHITECTURE
- ARCHITECTURE
+ #ifdef PHP_BUILD_ARCH
+ PHP_BUILD_ARCH
diff --git a/php80.spec b/php80.spec
index d042b4e..8a0f04e 100644
--- a/php80.spec
+++ b/php80.spec
@@ -90,8 +90,8 @@
%bcond_with zip
%global upver 8.0.1
-%global rcver RC1
-%global lower RC1
+#global rcver RC1
+#global lower RC1
Summary: PHP scripting language for creating dynamic web sites
Name: php
@@ -2142,6 +2142,9 @@ fi
%changelog
+* Tue Jan 5 2021 Remi Collet <remi@remirepo.net> - 8.0.1-1
+- Update to 8.0.1 - http://www.php.net/releases/8_0_1.php
+
* Tue Dec 15 2020 Remi Collet <remi@remirepo.net> - 8.0.1~RC1-1
- update to 8.0.1RC1