summaryrefslogtreecommitdiffstats
path: root/php74.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-07-06 14:20:55 +0200
committerRemi Collet <remi@remirepo.net>2020-07-06 14:20:55 +0200
commit328757b2a38602923c38a5e29770bf8ecd5e2345 (patch)
tree4ed8e440867fa1bda970cd4209ad2a4bb938b898 /php74.spec
parent4756f418689b8d31e4a3abaccf52ce7124b69eab (diff)
display build system and provider in phpinfo (from 8.0)
Diffstat (limited to 'php74.spec')
-rw-r--r--php74.spec12
1 files changed, 10 insertions, 2 deletions
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 <remi@remirepo.net> - 7.4.8~RC1-2
+- display build system and provider in phpinfo (from 8.0)
+
* Tue Jun 23 2020 Remi Collet <remi@remirepo.net> - 7.4.8~RC1-1
- update to 7.4.8RC1
- drop patch to fix PHP_UNAME