From b7324289d6911cf82e93a166e229a220c7fdd4ed Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Tue, 9 Jun 2020 14:02:09 +0200
Subject: Update to 7.4.7 - http://www.php.net/releases/7_4_7.php rebuild using
 oniguruma5php build phpdbg only once

---
 failed.txt            |  8 +++++---
 php-7.4.0-embed.patch |  2 +-
 php74.spec            | 18 +++++++++++-------
 3 files changed, 17 insertions(+), 11 deletions(-)

diff --git a/failed.txt b/failed.txt
index fe11104..017f1a6 100644
--- a/failed.txt
+++ b/failed.txt
@@ -1,15 +1,17 @@
-===== 7.4.7RC1 (2020-05-28)
+===== 7.4.7 (2020-06-11)
 
 $ grep -ar 'Tests failed' /var/lib/mock/{fc,el}*/build.log
 
 /var/lib/mock/el7x/build.log:Tests failed    :     0
-/var/lib/mock/el8x74/build.log:Tests failed  :    17
-/var/lib/mock/fc30i/build.log:Tests failed    :    0
+/var/lib/mock/el8x74/build.log:Tests failed  :    16
+/var/lib/mock/fc30i/build.log:Tests failed    :    1
 /var/lib/mock/fc30x/build.log:Tests failed    :    0
 /var/lib/mock/fc31x/build.log:Tests failed    :    0
 /var/lib/mock/fc32x/build.log:Tests failed    :    0
 
 
+fc30i:
+		Test disk_free_space and its alias diskfreespace() functions : basic functionality [ext/standard/tests/file/disk_free_space_basic.phpt]
 
 
 1	proc_open give erratic test results :(
diff --git a/php-7.4.0-embed.patch b/php-7.4.0-embed.patch
index 1c743c2..f7a9aaa 100644
--- a/php-7.4.0-embed.patch
+++ b/php-7.4.0-embed.patch
@@ -18,7 +18,7 @@ diff -up php-5.5.30/scripts/php-config.in.old php-5.5.30/scripts/php-config.in
  php_cgi_binary=NONE
  configure_options="@CONFIGURE_OPTIONS@"
 -php_sapis="@PHP_INSTALLED_SAPIS@"
-+php_sapis="apache2handler litespeed fpm @PHP_INSTALLED_SAPIS@"
++php_sapis="apache2handler litespeed fpm phpdbg @PHP_INSTALLED_SAPIS@"
  ini_dir="@EXPANDED_PHP_CONFIG_FILE_SCAN_DIR@"
  ini_path="@EXPANDED_PHP_CONFIG_FILE_PATH@"
  
diff --git a/php74.spec b/php74.spec
index ab854b5..545d688 100644
--- a/php74.spec
+++ b/php74.spec
@@ -46,7 +46,6 @@
 %else
 %global with_libpcre  0
 %endif
-%global with_onig     1
 
 # until firebird available in EPEL
 %if 0%{?rhel} == 8
@@ -97,8 +96,8 @@
 %global with_zip     0
 
 %global upver        7.4.7
-%global rcver        RC1
-%global lower        RC1
+#global rcver        RC1
+#global lower        RC1
 
 Summary: PHP scripting language for creating dynamic web sites
 Name: php
@@ -806,11 +805,10 @@ Group: Development/Languages
 # onigurama is licensed under BSD
 # ucgendat is licensed under OpenLDAP
 License: PHP and LGPLv2 and BSD and OpenLDAP
-%if %{with_onig}
-# ensure we have soname 5
-BuildRequires: pkgconfig(oniguruma) >= 6.8
+%if 0%{?rhel}
+BuildRequires: oniguruma5php-devel
 %else
-Provides: bundled(oniguruma) = 6.9.3
+BuildRequires: oniguruma-devel
 %endif
 Provides: bundled(libmbfl) = 1.3.2
 Requires: php-common%{?_isa} = %{version}-%{release}
@@ -1471,6 +1469,7 @@ popd
 without_shared="--disable-gd \
       --disable-dom --disable-dba --without-unixODBC \
       --disable-opcache \
+      --disable-phpdbg \
       --disable-json \
       --without-ffi \
       --disable-xmlreader --disable-xmlwriter \
@@ -2161,6 +2160,11 @@ fi
 
 
 %changelog
+* Tue Jun  9 2020 Remi Collet <remi@remirepo.net> - 7.4.7-1
+- Update to 7.4.7 - http://www.php.net/releases/7_4_7.php
+- rebuild using oniguruma5php
+- build phpdbg only once
+
 * Tue May 26 2020 Remi Collet <remi@remirepo.net> - 7.4.7~RC1-1
 - update to 7.4.7RC1
 
-- 
cgit