%bcond_without alternatives # use alternatives system to select default phar and php-fpm
%bcond_with default_php # build this PHP as default PHP in system (disables alternatives)
# - General options:
-%bcond_without embed # disable building Embedded API
+%bcond_with embed # disable building Embedded API
%bcond_with gcov # Enable Code coverage reporting
%bcond_without kerberos5 # without Kerberos5 support
%bcond_with systemtap # systemtap/DTrace support
Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
Version: 8.0.0
-Release: 0.beta4.0
+Release: 0.rc1.0
Epoch: 4
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
License: PHP 3.01 and Zend and BSD
Group: Libraries
#Source0: https://php.net/distributions/%{orgname}-%{version}.tar.xz
-Source0: https://downloads.php.net/~pollita/php-%{version}beta4.tar.xz
-# Source0-md5: a30173dc7d5b75d82253dcbf4c7f2fe4
+Source0: https://downloads.php.net/~carusogabriel/php-%{version}rc1.tar.xz
+# Source0-md5: 95923f24e336801d704d4177fcb3e0ce
Source1: opcache.ini
Source2: %{orgname}-mod_php.conf
Source3: %{orgname}-cgi-fcgi.ini
Patch44: %{orgname}-include_path.patch
Patch50: extension-shared-optional-dep.patch
Patch53: fix-test-run.patch
-Patch55: bug-52078-fileinode.patch
Patch59: %{orgname}-systzdata.patch
Patch60: %{orgname}-oracle-instantclient.patch
Patch66: php-db.patch
%define _sysconfdir %{php_sysconfdir}
# must be in sync with source. extra check ensuring that it is so is done in %%build
-%define php_api_version 20200804
+%define php_api_version 20200930
%define zend_module_api %{php_api_version}
%define zend_extension_api 4%{zend_module_api}
%define php_pdo_api_version 20170320
%define jsonver %{version}
%define pharver %{version}
%define sqlite3ver %{version}
-%define zipver 1.19.1-dev
+%define zipver 1.19.1
%define phpdbgver %{version}
%define sodiumver %{version}
%if 0
%setup -q -n %{orgname}-%{version}
%else
-%setup -q -n %{orgname}-%{version}beta4
+%setup -q -n %{orgname}-%{version}rc1
%endif
cp -p php.ini-production php.ini
#%patch7 -p1 -b .sapi-ini-file
%patch9 -p1
-#%patch10 -p1 -b .ini
+%patch10 -p1 -b .ini
%patch14 -p1
#%patch17 -p1 -b readline
%patch18 -p1
%patch21 -p1
-#%patch22 -p1 -b .both-apxs
+%patch22 -p1
%patch23 -p1
#%patch24 -p1 -b .zlib-for-getimagesize
%patch25 -p1
%patch53 -p1
%undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
-#%patch55 -p1
+
%patch59 -p1 -b .systzdata
%if %{with instantclient}
%patch60 -p1 -b .instantclient