diff options
author | Remi Collet <remi@remirepo.net> | 2017-08-16 07:34:26 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-08-16 07:34:26 +0200 |
commit | 4150e7db3d867cf06ec44ec294fc8e9098c0220e (patch) | |
tree | 476aa5dac86fde5437e9e1202df6d6b274925d35 /php-pecl-opencensus.spec | |
parent | 5a44622dce86f85194c2d0563cffd8bb96c3f83d (diff) |
Update to 0.0.2
Diffstat (limited to 'php-pecl-opencensus.spec')
-rw-r--r-- | php-pecl-opencensus.spec | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/php-pecl-opencensus.spec b/php-pecl-opencensus.spec index 71dea73..86a6b19 100644 --- a/php-pecl-opencensus.spec +++ b/php-pecl-opencensus.spec @@ -22,16 +22,13 @@ Summary: A stats collection and distributed tracing framework Name: %{?sub_prefix}php-pecl-opencensus -Version: 0.0.1 +Version: 0.0.2 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: ASL 2.0 Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz -# https://github.com/census-instrumentation/opencensus-php/issues/12 -Source1: https://raw.githubusercontent.com/census-instrumentation/opencensus-php/master/ext/tests/common.php - BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear @@ -92,7 +89,6 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS -cp %{SOURCE1} tests # Sanity check, really often broken extver=$(sed -n '/#define PHP_OPENCENSUS_VERSION/{s/.* "//;s/".*$//;p}' php_opencensus.h) @@ -159,11 +155,6 @@ done %check -%if %{__isa_bits} < 64 -# https://github.com/census-instrumentation/opencensus-php/issues/13 -rm ?TS/tests/manual_spans_default_options.phpt -%endif - cd NTS : Minimal load test for NTS extension @@ -188,14 +179,11 @@ cd ../ZTS --modules | grep %{pecl_name} %if %{with_tests} -# ignore ZTS test suite, see -# https://github.com/census-instrumentation/opencensus-php/issues/14 - : Upstream test suite for ZTS extension TEST_PHP_EXECUTABLE=%{__ztsphp} \ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \ NO_INTERACTION=1 \ -REPORT_EXIT_STATUS=0 \ +REPORT_EXIT_STATUS=1 \ %{__ztsphp} -n run-tests.php --show-diff %endif %endif @@ -236,6 +224,9 @@ fi %changelog +* Wed Aug 16 2017 Remi Collet <remi@remirepo.net> - 0.0.2-1 +- Update to 0.0.2 + * Tue Aug 15 2017 Remi Collet <remi@remirepo.net> - 0.0.1-1 - new package, version 0.0.1 (devel) - open https://github.com/census-instrumentation/opencensus-php/issues/13 |