From 328757b2a38602923c38a5e29770bf8ecd5e2345 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 6 Jul 2020 14:20:55 +0200 Subject: display build system and provider in phpinfo (from 8.0) --- php74.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'php74.spec') diff --git a/php74.spec b/php74.spec index 5aab80c..13d0c40 100644 --- a/php74.spec +++ b/php74.spec @@ -102,7 +102,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: php Version: %{upver}%{?rcver:~%{lower}} -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 @@ -151,7 +151,8 @@ Patch43: php-7.4.0-phpize.patch # Use -lldap_r for OpenLDAP Patch45: php-7.4.0-ldap_r.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.4.8-phpinfo.patch # RC Patch Patch91: php-7.2.0-oci8conf.patch @@ -1286,6 +1287,10 @@ fi # 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 # Force use of system libtool: libtoolize --force --copy @@ -2152,6 +2157,9 @@ fi %changelog +* Mon Jul 6 2020 Remi Collet - 7.4.8~RC1-2 +- display build system and provider in phpinfo (from 8.0) + * Tue Jun 23 2020 Remi Collet - 7.4.8~RC1-1 - update to 7.4.8RC1 - drop patch to fix PHP_UNAME -- cgit