diff options
author | Remi Collet <remi@remirepo.net> | 2021-07-05 07:45:37 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-07-05 07:45:37 +0200 |
commit | e9cf32572fe79e849e99b14b7b88aac4f59cf005 (patch) | |
tree | 029d40d4be6935578d8afa6572820d2376ef1ee4 /php-pecl-xhprof.spec | |
parent | 38721e58d8a6e037bfe71cf96167495f13c1fb89 (diff) |
update to 2.3.3
add patch for PHP 8.1 from
https://github.com/longxinH/xhprof/pull/61
Diffstat (limited to 'php-pecl-xhprof.spec')
-rw-r--r-- | php-pecl-xhprof.spec | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/php-pecl-xhprof.spec b/php-pecl-xhprof.spec index 3224539..b1ae4c6 100644 --- a/php-pecl-xhprof.spec +++ b/php-pecl-xhprof.spec @@ -25,7 +25,7 @@ %global ini_name 40-%{pecl_name}.ini Name: %{?sub_prefix}php-pecl-xhprof -Version: 2.3.2 +Version: 2.3.3 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Summary: PHP extension for XHProf, a Hierarchical Profiler @@ -34,6 +34,8 @@ License: ASL 2.0 URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz +Patch0: %{pecl_name}-php81.patch + # https://bugs.php.net/61262 ExclusiveArch: %{ix86} x86_64 @@ -64,6 +66,9 @@ Obsoletes: php74-pecl-%{pecl_name} <= %{version} %if "%{php_version}" > "8.0" Obsoletes: php80-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "8.1" +Obsoletes: php81-pecl-%{pecl_name} <= %{version} +%endif %endif @@ -114,6 +119,8 @@ sed -e 's/role="php"/role="src"/' \ -i package.xml pushd %{pecl_name}-%{version}/extension +%patch0 -p2 -b .pr61 + sed -e '/XHPROF_VERSION/s/2.3.0/%{version}/' -i php_xhprof.h # Sanity check, really often broken extver=$(sed -n '/#define XHPROF_VERSION/{s/.* "//;s/".*$//;p}' php_xhprof.h) @@ -278,6 +285,11 @@ fi %changelog +* Mon Jul 5 2021 Remi Collet <remi@remirepo.net> - 2.3.3-1 +- update to 2.3.3 +- add patch for PHP 8.1 from + https://github.com/longxinH/xhprof/pull/61 + * Fri May 7 2021 Remi Collet <remi@remirepo.net> - 2.3.2-1 - update to 2.3.2 (stable) |