From 5a6cf2d8873afca31cc0bf562af78374ecc6e658 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 18 Jul 2018 12:19:54 +0200 Subject: rebuild for 7.3.0alpha4 new ABI see https://github.com/census-instrumentation/opencensus-php/pull/195 --- php-pecl-opencensus.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/php-pecl-opencensus.spec b/php-pecl-opencensus.spec index 1b1baa9..5727aaa 100644 --- a/php-pecl-opencensus.spec +++ b/php-pecl-opencensus.spec @@ -30,7 +30,7 @@ Summary: A stats collection and distributed tracing framework Name: %{?sub_prefix}php-pecl-opencensus Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: ASL 2.0 URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz @@ -64,6 +64,10 @@ Obsoletes: php71w-pecl-%{pecl_name} <= %{version} Obsoletes: php72u-pecl-%{pecl_name} <= %{version} Obsoletes: php72w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.3" +Obsoletes: php73u-pecl-%{pecl_name} <= %{version} +Obsoletes: php73w-pecl-%{pecl_name} <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -95,6 +99,7 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +sed -e 's/ZVAL_DESTRUCTOR/zval_dtor/' -i *.c # Sanity check, really often broken extver=$(sed -n '/#define PHP_OPENCENSUS_VERSION/{s/.* "//;s/".*$//;p}' php_opencensus.h) @@ -230,6 +235,10 @@ fi %changelog +* Wed Jul 18 2018 Remi Collet - 0.2.2-2 +- rebuild for 7.3.0alpha4 new ABI +- see https://github.com/census-instrumentation/opencensus-php/pull/195 + * Sun May 13 2018 Remi Collet - 0.2.2-1 - update to 0.2.2 -- cgit