From 71e3fbedf1d4679728a9a82d7cdf119c7cb5d908 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 6 Jul 2020 16:43:57 +0200 Subject: display build system and provider in phpinfo (from 8.0) --- php.spec | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'php.spec') diff --git a/php.spec b/php.spec index 667f955..66c2ad3 100644 --- a/php.spec +++ b/php.spec @@ -141,7 +141,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: %{?scl_prefix}php Version: %{upver}%{?rcver:~%{rcver}} -Release: 1%{?dist} +Release: 2%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -188,10 +188,11 @@ Patch42: php-7.3.3-systzdata-v18.patch Patch43: php-7.3.0-phpize.patch # Use -lldap_r for OpenLDAP Patch45: php-7.2.3-ldap_r.patch -# Make php_config.h constant across builds -Patch46: php-7.2.4-fixheader.patch +# Make php_config.h constant across builds (from 7.4) +Patch46: php-7.3.20-fixheader.patch # drop "Configure command" from phpinfo output -Patch47: php-5.6.3-phpinfo.patch +# and add build system and provider (from 8.0) +Patch47: php-7.3.20-phpinfo.patch # backport PDOStatement::getColumnMeta from 7.4 Patch48: php-7.3.3-pdooci.patch @@ -1119,6 +1120,11 @@ exit 1 # Set build date from https://reproducible-builds.org/specs/source-date-epoch/ export SOURCE_DATE_EPOCH=$(date +%s -r NEWS) +export PHP_UNAME=$(uname) +export PHP_BUILD_SYSTEM=$(cat /etc/redhat-release | sed -e 's/ Beta//') +%if 0%{?vendor:1} +export PHP_BUILD_PROVIDER="%{vendor}" +%endif # aclocal workaround - to be improved cat $(aclocal --print-ac-dir)/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >>aclocal.m4 @@ -1907,6 +1913,9 @@ fi %changelog +* Tue Jun 23 2020 Remi Collet - 7.3.20~RC1-2 +- display build system and provider in phpinfo (from 8.0) + * Tue Jun 23 2020 Remi Collet - 7.3.20~RC1-1 - update to 7.3.20RC1 -- cgit