summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-09-05 08:05:55 +0200
committerRemi Collet <remi@php.net>2022-09-05 08:05:55 +0200
commitc436154a7a0537727894d489e3dd7c5a6203d7ab (patch)
tree30e8680066c4212afabe16c120375ecfc616fb3b
parenta0a8cf22c41300c7e177dbabea5eadbcfb9a1486 (diff)
update to 2.3.6
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION6
-rw-r--r--php-pecl-xhprof.spec16
3 files changed, 13 insertions, 11 deletions
diff --git a/PHPINFO b/PHPINFO
index 87200d1..edc40ed 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,7 +2,7 @@
xhprof
xhprof support => enabled
-Version => 2.3.5
+Version => 2.3.6
Directive => Local Value => Master Value
xhprof.output_dir => no value => no value
diff --git a/REFLECTION b/REFLECTION
index 882e1e7..095611b 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #124 xhprof version 2.3.5 ] {
+Extension [ <persistent> extension #120 xhprof version 2.3.6 ] {
- INI {
Entry [ xhprof.output_dir <ALL> ]
@@ -25,8 +25,8 @@ Extension [ <persistent> extension #124 xhprof version 2.3.5 ] {
Function [ <internal:xhprof> function xhprof_enable ] {
- Parameters [2] {
- Parameter #0 [ <optional> $flags ]
- Parameter #1 [ <optional> $options ]
+ Parameter #0 [ <optional> $flags = <default> ]
+ Parameter #1 [ <optional> $options = <default> ]
}
}
Function [ <internal:xhprof> function xhprof_disable ] {
diff --git a/php-pecl-xhprof.spec b/php-pecl-xhprof.spec
index 0df3451..73adf38 100644
--- a/php-pecl-xhprof.spec
+++ b/php-pecl-xhprof.spec
@@ -13,7 +13,6 @@
%bcond_without tests
%if 0%{?scl:1}
-%global sub_prefix %{scl_prefix}
%scl_package php-pecl-xhprof
%else
%global _root_bindir %{_bindir}
@@ -24,8 +23,8 @@
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global ini_name 40-%{pecl_name}.ini
-Name: %{?sub_prefix}php-pecl-xhprof
-Version: 2.3.5
+Name: %{?scl_prefix}php-pecl-xhprof
+Version: 2.3.6
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Summary: PHP extension for XHProf, a Hierarchical Profiler
@@ -81,7 +80,7 @@ The HTML based navigational interface is provided in the "xhprof" package.
Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}.
-%package -n %{?sub_prefix}xhprof
+%package -n %{?scl_prefix}xhprof
Summary: A Hierarchical Profiler for PHP - Web interface
Group: Development/Tools
BuildArch: noarch
@@ -89,7 +88,7 @@ BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Requires: %{_root_bindir}/dot
-%description -n %{?sub_prefix}xhprof
+%description -n %{?scl_prefix}xhprof
XHProf is a function-level hierarchical profiler for PHP and has a simple HTML
based navigational interface.
@@ -117,7 +116,7 @@ sed -e 's/role="php"/role="src"/' \
-i package.xml
pushd %{pecl_name}-%{version}/extension
-sed -e '/XHPROF_VERSION/s/2.3.0/%{version}/' -i php_xhprof.h
+sed -e '/XHPROF_VERSION/s/2.3.5/%{version}/' -i php_xhprof.h
# Sanity check, really often broken
extver=$(sed -n '/#define XHPROF_VERSION/{s/.* "//;s/".*$//;p}' php_xhprof.h)
if test "x${extver}" != "x%{version}"; then
@@ -271,7 +270,7 @@ fi
%endif
-%files -n %{?sub_prefix}xhprof
+%files -n %{?scl_prefix}xhprof
%defattr(-,root,root,-)
%doc %{pecl_docdir}/%{pecl_name}/examples
%doc %{pecl_docdir}/%{pecl_name}/xhprof_html
@@ -281,6 +280,9 @@ fi
%changelog
+* Mon Sep 5 2022 Remi Collet <remi@remirepo.net> - 2.3.6-1
+- update to 2.3.6
+
* Sun Sep 5 2021 Remi Collet <remi@remirepo.net> - 2.3.5-1
- update to 2.3.5