summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php.spec18
1 files changed, 15 insertions, 3 deletions
diff --git a/php.spec b/php.spec
index c271a6a..27a0a71 100644
--- a/php.spec
+++ b/php.spec
@@ -136,7 +136,7 @@
Summary: PHP scripting language for creating dynamic web sites
Name: %{?scl_prefix}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
@@ -412,6 +412,11 @@ Requires: libtool
%if %{with_libpcre}
Requires: pcre2-devel%{?_isa} >= 10.30
%endif
+%if 0%{?rhel} == 6
+Requires: libicu-last-devel%{?_isa}
+%else
+Requires: libicu-devel%{?_isa} > 62
+%endif
%description devel
The %{?scl_prefix}php-devel package contains the files needed for building PHP
@@ -831,8 +836,12 @@ Group: System Environment/Libraries
# All files licensed under PHP version 3.01
License: PHP
Requires: %{?scl_prefix}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
+
%description intl
The %{?scl_prefix}php-intl package contains a dynamic shared object that will add
@@ -1873,6 +1882,9 @@ fi
%changelog
+* Thu Feb 7 2019 Remi Collet <remi@remirepo.net> - 7.3.2-2
+- rebuild using libicu62
+
* Tue Feb 5 2019 Remi Collet <remi@remirepo.net> - 7.3.2-1
- Update to 7.3.2 - http://www.php.net/releases/7_3_2.php