From ea66b5f3ec6c0dc66c93d5329c705d795028b2de Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 18 Feb 2019 17:09:07 +0100 Subject: pdo_oci: backport PDOStatement::getColumnMeta from 7.4 rebuild using libicu62 drop configuration for ZTS mod_php (Fedora >= 27) --- php72.spec | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'php72.spec') diff --git a/php72.spec b/php72.spec index 565026d..5a15f18 100644 --- a/php72.spec +++ b/php72.spec @@ -124,7 +124,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: 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 @@ -177,6 +177,8 @@ Patch46: php-7.2.4-fixheader.patch Patch47: php-5.6.3-phpinfo.patch # getallheaders for FPM backported from 7.3 Patch48: php-7.2.8-getallheaders.patch +# backport PDOStatement::getColumnMeta from 7.4 +Patch49: php-7.2.16-pdooci.patch # RC Patch Patch91: php-7.2.0-oci8conf.patch @@ -435,6 +437,12 @@ Requires: libtool %if %{with_libpcre} Requires: pcre-devel%{?_isa} %endif +%if 0%{?rhel} == 6 +Requires: libicu-last-devel%{?_isa} +%else +Requires: libicu-devel%{?_isa} > 62 +%endif + Obsoletes: php-pecl-pdo-devel Obsoletes: php-pecl-json-devel < %{jsonver} Obsoletes: php-pecl-jsonc-devel < %{jsonver} @@ -971,8 +979,11 @@ Group: System Environment/Libraries # All files licensed under PHP version 3.01 License: PHP Requires: php-common%{?_isa} = %{version}-%{release} -# Upstream requires 4.0, we require 50 to ensure use of libicu-last -BuildRequires: libicu-devel >= 50 +%if 0%{?rhel} == 6 +BuildRequires: libicu-last-devel +%else +BuildRequires: libicu-devel > 62 +%endif %if 0%{?rhel} Obsoletes: php53-intl, php53u-intl, php54-intl, php54w-intl, php55u-intl, php55w-intl, php56u-intl, php56w-intl Obsoletes: php70u-intl, php70w-intl, php71u-intl, php71w-intl, php72u-intl, php72w-intl @@ -1092,6 +1103,7 @@ low-level PHP extension for the libsodium cryptographic library. %patch46 -p1 -b .fixheader %patch47 -p1 -b .phpinfo %patch48 -p1 -b .getallheaders +%patch49 -p1 -b .pdooci %patch91 -p1 -b .remi-oci8 @@ -2174,6 +2186,11 @@ fi %changelog +* Mon Feb 18 2019 Remi Collet - 7.2.15-2 +- pdo_oci: backport PDOStatement::getColumnMeta from 7.4 +- rebuild using libicu62 +- drop configuration for ZTS mod_php (Fedora >= 27) + * Tue Feb 5 2019 Remi Collet - 7.2.15-1 - Update to 7.2.15 - http://www.php.net/releases/7_2_15.php -- cgit