summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO4
-rw-r--r--REFLECTION14
-rw-r--r--php-pecl-pcov.spec36
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 [ <persistent> extension #129 pcov version 1.0.6 ] {
+Extension [ <persistent> extension #88 pcov version 1.0.7 ] {
- Dependencies {
Dependency [ pcre (Required) ]
@@ -23,10 +23,10 @@ Extension [ <persistent> 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 [ <persistent> extension #129 pcov version 1.0.6 ] {
Function [ <internal:pcov> function pcov\collect ] {
- Parameters [2] {
- Parameter #0 [ <optional> integer $type ]
+ Parameter #0 [ <optional> int $type ]
Parameter #1 [ <optional> array $filter ]
}
}
Function [ <internal:pcov> function pcov\clear ] {
- Parameters [1] {
- Parameter #0 [ <optional> boolean $files ]
+ Parameter #0 [ <optional> bool $files ]
}
}
Function [ <internal:pcov> 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 <remi@remirepo.net> - 1.0.7-1
+- update to 1.0.7
+
+* Thu Nov 26 2020 Remi Collet <remi@remirepo.net> - 1.0.6-4
+- add upstream patch for test suite with PHP 8
+
* Tue Sep 03 2019 Remi Collet <remi@remirepo.net> - 1.0.6-2
- rebuild for 7.4.0RC1