From d57bc5483cbca5c2e1c23bfc156ce3e8a445efb9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 29 Aug 2022 08:31:40 +0200 Subject: update to 1.8.2 --- PHPINFO | 2 +- REFLECTION | 2 +- php-pecl-scoutapm.spec | 9 ++++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/PHPINFO b/PHPINFO index ec819ef..e0612cf 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ scoutapm scoutapm support => enabled -Version => 1.8.1 +Version => 1.8.2 curl functions => Yes file functions => Yes pdo functions => Yes diff --git a/REFLECTION b/REFLECTION index ab055b1..99b8932 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #120 scoutapm version 1.8.1 ] { +Extension [ extension #120 scoutapm version 1.8.2 ] { - Functions { Function [ function scoutapm_get_calls ] { diff --git a/php-pecl-scoutapm.spec b/php-pecl-scoutapm.spec index 17085dd..1fe98c2 100644 --- a/php-pecl-scoutapm.spec +++ b/php-pecl-scoutapm.spec @@ -10,13 +10,15 @@ %scl_package php-pecl-scoutapm %endif +%bcond_without tests + %global pecl_name scoutapm %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 15-%{pecl_name}.ini Summary: Native Extension Component for ScoutAPM's PHP Agent Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 1.8.1 +Version: 1.8.2 Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz License: PHP @@ -166,6 +168,7 @@ DEPS="-n" DEPS="$DEPS -d extension=curl.so -d extension=pdo.so -d extension=pdo_sqlite.so" +%if %{with tests} : Upstream test suite for NTS extension cd NTS rm tests/*elastic*.phpt @@ -173,6 +176,7 @@ rm tests/*elastic*.phpt TEST_PHP_ARGS="$DEPS -d zend_extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \ REPORT_EXIT_STATUS=1 \ %{__php} -n run-tests.php -P -q --show-diff +%endif %files @@ -190,6 +194,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Mon Aug 29 2022 Remi Collet - 1.8.2-1 +- update to 1.8.2 + * Wed Jul 27 2022 Remi Collet - 1.8.1-1 - update to 1.8.1 (no change) -- cgit