From 31bf318258e7d17efe8fe5403fde39caefd3e766 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 19 Mar 2021 08:43:16 +0100 Subject: v1.0.7 --- PHPINFO | 4 ++-- REFLECTION | 14 +++++++------- php-pecl-pcov.spec | 36 ++++++++++++++++-------------------- 3 files changed, 25 insertions(+), 29 deletions(-) diff --git a/PHPINFO b/PHPINFO index aaa1d40..7c3d73f 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,8 +2,8 @@ pcov PCOV support => Disabled -PCOV version => 1.0.6 -pcov.directory => auto +PCOV version => 1.0.7 +pcov.directory => none pcov.exclude => none pcov.initial.memory => 65336 bytes pcov.initial.files => 64 diff --git a/REFLECTION b/REFLECTION index 52080ba..9f688c9 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #129 pcov version 1.0.6 ] { +Extension [ extension #88 pcov version 1.0.7 ] { - Dependencies { Dependency [ pcre (Required) ] @@ -23,10 +23,10 @@ Extension [ extension #129 pcov version 1.0.6 ] { } - Constants [4] { - Constant [ integer pcov\all ] { 0 } - Constant [ integer pcov\inclusive ] { 1 } - Constant [ integer pcov\exclusive ] { 2 } - Constant [ string pcov\version ] { 1.0.6 } + Constant [ int pcov\all ] { 0 } + Constant [ int pcov\inclusive ] { 1 } + Constant [ int pcov\exclusive ] { 2 } + Constant [ string pcov\version ] { 1.0.7 } } - Functions { @@ -43,14 +43,14 @@ Extension [ extension #129 pcov version 1.0.6 ] { Function [ function pcov\collect ] { - Parameters [2] { - Parameter #0 [ integer $type ] + Parameter #0 [ int $type ] Parameter #1 [ array $filter ] } } Function [ function pcov\clear ] { - Parameters [1] { - Parameter #0 [ boolean $files ] + Parameter #0 [ bool $files ] } } Function [ function pcov\waiting ] { diff --git a/php-pecl-pcov.spec b/php-pecl-pcov.spec index 0cdd34a..e6a6c59 100644 --- a/php-pecl-pcov.spec +++ b/php-pecl-pcov.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-pcov # -# Copyright (c) 2019 Remi Collet +# Copyright (c) 2019-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -14,13 +14,14 @@ Summary: Code coverage driver Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 1.0.6 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 1.0.7 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP -URL: http://pecl.php.net/package/%{pecl_name} -Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +URL: https://pecl.php.net/package/%{pecl_name} +Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz -BuildRequires: gcc +BuildRequires: make +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel > 7.1 BuildRequires: %{?scl_prefix}php-pear @@ -37,30 +38,20 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{rele Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} %endif -%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} +%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} # Other third party repo stuff -%if "%{php_version}" > "7.1" -Obsoletes: php71u-pecl-%{pecl_name} <= %{version} -Obsoletes: php71w-pecl-%{pecl_name} <= %{version} -%endif %if "%{php_version}" > "7.2" Obsoletes: php72u-pecl-%{pecl_name} <= %{version} -Obsoletes: php72w-pecl-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "7.3" Obsoletes: php73-pecl-%{pecl_name} <= %{version} -Obsoletes: php73w-pecl-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "7.4" Obsoletes: php74-pecl-%{pecl_name} <= %{version} -Obsoletes: php74w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "8.0" +Obsoletes: php80-pecl-%{pecl_name} <= %{version} %endif - -%if 0%{?fedora} < 20 && 0%{?rhel} < 7 -# Filter private shared object -%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} -%{?filter_setup} %endif @@ -80,7 +71,6 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS - # Sanity check, really often broken extver=$(sed -n '/#define PHP_PCOV_VERSION/{s/.* "//;s/".*$//;p}' php_pcov.h) if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then @@ -227,6 +217,12 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Fri Mar 19 2021 Remi Collet - 1.0.7-1 +- update to 1.0.7 + +* Thu Nov 26 2020 Remi Collet - 1.0.6-4 +- add upstream patch for test suite with PHP 8 + * Tue Sep 03 2019 Remi Collet - 1.0.6-2 - rebuild for 7.4.0RC1 -- cgit