X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=php.spec;h=2a7c55626b3f230e083cdbd83bbaf3c4ab4da7b4;hb=af32c609d106e719944ff98a3ea31819bc123987;hp=de005b2a5605ac22937255ba4aedf53bb8656aeb;hpb=4d1c1e42de366d58179734e731a91f48a85f9689;p=packages%2Fphp.git diff --git a/php.spec b/php.spec index de005b2..2a7c556 100644 --- a/php.spec +++ b/php.spec @@ -1,7 +1,7 @@ # NOTES # - mysqlnd driver doesn't support reconnect: https://bugs.php.net/bug.php?id=52561 # TODO 7.2: -# - https://github.com/php/php-src/blob/php-7.2.0alpha3/UPGRADING +# - https://github.com/php/php-src/blob/php-7.2.0/UPGRADING # TODO 5.6: # - enable --with-fpm-systemd, but ensure it checks for sd_booted() # TODO 5.4: @@ -36,6 +36,7 @@ %bcond_with systemtap # systemtap/DTrace support %bcond_with tests # default off; test process very often hangs on builders, approx run time 45m; perform "make test" %bcond_with zts # Zend Thread Safety +%bcond_with debug # Zend Debug Build # - SAPI %bcond_without apache2 # disable building Apache 2.x SAPI %bcond_without cgi # disable CGI/FCGI SAPI @@ -143,7 +144,6 @@ %undefine with_filter %endif -%define subver RC6 %define orgname php %define ver_suffix 72 %define php_suffix %{!?with_default_php:%{ver_suffix}} @@ -154,7 +154,7 @@ Summary(pt_BR.UTF-8): A linguagem de script PHP Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирования HTML-файлов, выполняемый на сервере Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері Name: %{orgname}%{php_suffix} -Version: 7.2.0 +Version: 7.2.5 Release: 2 Epoch: 4 # All files licensed under PHP version 3.01, except @@ -162,10 +162,8 @@ Epoch: 4 # TSRM is licensed under BSD License: PHP 3.01 and Zend and BSD Group: Libraries -#Source0: https://php.net/distributions/%{orgname}-%{version}.tar.xz -#Source0: https://downloads.php.net/~remi/php-%{version}%{subver}.tar.xz -Source0: https://downloads.php.net/~pollita/php-%{version}%{subver}.tar.xz -# Source0-md5: 43244f99613c6dc51a532b802cea17a8 +Source0: https://php.net/distributions/%{orgname}-%{version}.tar.xz +# Source0-md5: 0f2e2c6d749a4bc3913b50d1f7bb95fa Source1: opcache.ini Source2: %{orgname}-mod_php.conf Source3: %{orgname}-cgi-fcgi.ini @@ -262,7 +260,7 @@ BuildRequires: libtool >= 1.4.3 %endif BuildRequires: libxml2-devel >= 1:2.7.6-4 %{?with_xsl:BuildRequires: libxslt-devel >= 1.1.0} -%{?with_system_libzip:BuildRequires: libzip-devel >= 1.2.0} +%{?with_system_libzip:BuildRequires: libzip-devel >= 1.3.1} %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}} %{?with_mm:BuildRequires: mm-devel >= 1.3.0} %{!?with_mysqli:BuildRequires: mysql-devel >= 4.1.13} @@ -321,12 +319,12 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define jsonver 1.6.0 %define pharver 2.0.2 %define sqlite3ver %{version} -%define zipver 1.15.1 +%define zipver 1.15.2 %define phpdbgver 0.5.0 %define sodiumver %{version} %define _zend_zts %{!?with_zts:0}%{?with_zts:1} -%define php_debug %{!?debug:0}%{?debug:1} +%define php_debug %{!?with_debug:0}%{?with_debug:1} %if %{with gcov} %undefine with_ccache @@ -1945,7 +1943,7 @@ Summary(pl.UTF-8): Zarządzanie archiwami zip Group: Libraries URL: http://php.net/manual/en/book.zip.php Requires: %{name}-common = %{epoch}:%{version}-%{release} -%{?with_system_libzip:Requires: libzip >= 1.2.0} +%{?with_system_libzip:Requires: libzip >= 1.3.1} Provides: php(zip) = %{zipver} Obsoletes: php-pecl-zip < %{zipver} Obsoletes: php-zip < 4:5.3.28-7 @@ -2307,7 +2305,7 @@ for sapi in $sapis; do --with-config-file-scan-dir=%{_sysconfdir}/conf.d \ --with-system-tzdata \ %{?with_argon2:--with-password-argon2} \ - --%{!?debug:dis}%{?debug:en}able-debug \ + --%{!?with_debug:dis}%{?with_debug:en}able-debug \ %{?with_zts:--enable-maintainer-zts} \ --enable-inline-optimization \ %{__enable_disable bcmath bcmath shared} \