diff options
author | Remi Collet <remi@remirepo.net> | 2020-07-06 16:43:57 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-07-06 16:43:57 +0200 |
commit | 71e3fbedf1d4679728a9a82d7cdf119c7cb5d908 (patch) | |
tree | 25684fb145e1427df18a24488503a8d680ac35ef /php.spec | |
parent | 596c03f628bc0a0f5c2e2f514da35f8ade68acc3 (diff) |
display build system and provider in phpinfo (from 8.0)
Diffstat (limited to 'php.spec')
-rw-r--r-- | php.spec | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -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 <remi@remirepo.net> - 7.3.20~RC1-2 +- display build system and provider in phpinfo (from 8.0) + * Tue Jun 23 2020 Remi Collet <remi@remirepo.net> - 7.3.20~RC1-1 - update to 7.3.20RC1 |