# Reflection
#
# Conditional build:
+
%bcond_without default_php # use this PHP as default PHP in distro
%bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
%bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
%undefine with_filter
%endif
-%define rel 2
+%define rel 1
%define orgname php
%define ver_suffix 55
%define php_suffix %{!?with_default_php:%{ver_suffix}}
Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
-Version: 5.5.1
+Version: 5.5.16
Release: %{rel}%{?with_type_hints:.th}%{?with_oci8:.oci}
Epoch: 4
License: PHP
Group: Libraries
Source0: http://www.php.net/distributions/%{orgname}-%{version}.tar.bz2
-# Source0-md5: e6520ba8f86e03451f1e9226ca2be681
+# Source0-md5: 331a87fb27e100a88b3845d34582f769
Source2: %{orgname}-mod_%{orgname}.conf
Source3: %{orgname}-cgi-fcgi.ini
Source4: %{orgname}-apache.ini
Patch5: %{orgname}-filter-shared.patch
Patch6: %{orgname}-build_modules.patch
Patch7: %{orgname}-sapi-ini-file.patch
-Patch8: %{orgname}-config-file-scan-dir.patch
Patch9: %{orgname}-sh.patch
Patch10: %{orgname}-ini.patch
Patch11: embed.patch
# Extension versions
%define bz2ver 1.0
%define enchantver 1.1.0
-%define fileinfover 1.0.5-dev
+%define fileinfover 1.0.5
%define hashver 1.0
%define intlver 1.1.0
%define jsonver 1.2.1
-%define opcachever 7.0.2-dev
-%define pharver 2.0.1
+%define opcachever 7.0.4-dev
+%define pharver 2.0.2
%define sqlite3ver 0.7-dev
%define zipver 1.11.0
%patch4 -p1
%patch5 -p1
%patch6 -p1
-%patch8 -p1
%patch7 -p1
%patch9 -p1
cp -p php.ini-production php.ini
: Update the jsonver macro and rebuild.
exit 1
fi
-ver=$(sed -n '/#define ACCELERATOR_VERSION /{s/.* "//;s/".*$//;p}' ext/opcache/ZendAccelerator.h)
+ver=$(sed -n '/#define PHP_ZENDOPCACHE_VERSION /{s/.* "//;s/".*$//;p}' ext/opcache/ZendAccelerator.h)
if test "$ver" != "%{opcachever}"; then
: Error: Upstream Zend Opcachge version is now ${ver}, expecting %{opcachever}.
: Update the opcachever macro and rebuild.