summaryrefslogtreecommitdiffstats
path: root/php-pecl-scoutapm.spec
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 /php-pecl-scoutapm.spec
parent95206737c42a0121d221b594eb88704f4727afea (diff)
update to 1.8.2
Diffstat (limited to 'php-pecl-scoutapm.spec')
-rw-r--r--php-pecl-scoutapm.spec9
1 files changed, 8 insertions, 1 deletions
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)