summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-08-29 08:31:40 +0200
committerRemi Collet <remi@php.net>2022-08-29 08:31:40 +0200
commitd57bc5483cbca5c2e1c23bfc156ce3e8a445efb9 (patch)
treef66ca7d481ec5afea0eade738099c7ff55f96bbc
parent95206737c42a0121d221b594eb88704f4727afea (diff)
update to 1.8.2
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION2
-rw-r--r--php-pecl-scoutapm.spec9
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 [ <persistent> extension #120 scoutapm version 1.8.1 ] {
+Extension [ <persistent> extension #120 scoutapm version 1.8.2 ] {
- Functions {
Function [ <internal:scoutapm> 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 <remi@remirepo.net> - 1.8.2-1
+- update to 1.8.2
+
* Wed Jul 27 2022 Remi Collet <remi@remirepo.net> - 1.8.1-1
- update to 1.8.1 (no change)